Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 8 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08332, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4207/0.5041, allocations: 115.9 MB / 388.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5044, allocations: 90.45 kB / 388.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4703/0.9747, allocations: 55.57 MB / 443.7 MB, free: 79.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.9748, allocations: 0 / 443.7 MB, free: 79.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003285/0.9751, allocations: 69.11 kB / 443.8 MB, free: 79.01 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.01169/0.9868, allocations: 2.941 MB / 446.7 MB, free: 77.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.9869, allocations: 10.06 kB / 446.7 MB, free: 77.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.9884, allocations: 347.9 kB / 447.1 MB, free: 77.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.9909, allocations: 432.2 kB / 447.5 MB, free: 77.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005716/0.9966, allocations: 1.744 MB / 449.2 MB, free: 77.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.9968, allocations: 173.4 kB / 449.4 MB, free: 77.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008124/0.9976, allocations: 242.8 kB / 449.6 MB, free: 77.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008638/1.006, allocations: 2.999 MB / 452.6 MB, free: 76.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/1.006, allocations: 10.44 kB / 452.7 MB, free: 76.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004257/1.007, allocations: 106.3 kB / 452.8 MB, free: 76.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/1.007, allocations: 96.88 kB / 452.9 MB, free: 76.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007193/1.014, allocations: 2.427 MB / 455.3 MB, free: 76.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/1.038, allocations: 10.08 MB / 465.4 MB, free: 72.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/1.043, allocations: 2.773 MB / 468.1 MB, free: 71.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/1.043, allocations: 140.7 kB / 468.3 MB, free: 70.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.043, allocations: 51.38 kB / 468.3 MB, free: 70.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 6.562e-06/1.043, allocations: 3.375 kB / 468.3 MB, free: 70.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.0331/1.076, allocations: 9.059 MB / 477.4 MB, free: 67.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.076, allocations: 204.4 kB / 477.6 MB, free: 67.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/1.081, allocations: 1.61 MB / 479.2 MB, free: 66.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004796/1.081, allocations: 57.23 kB / 479.2 MB, free: 66.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.082, allocations: 1.133 MB / 480.4 MB, free: 65.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008448/1.083, allocations: 0.587 MB / 481 MB, free: 65.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.083, allocations: 35.38 kB / 481 MB, free: 65.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/1.084, allocations: 384.2 kB / 481.4 MB, free: 64.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/1.087, allocations: 0.9135 MB / 482.3 MB, free: 64.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/1.09, allocations: 1.353 MB / 483.6 MB, free: 63.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/1.093, allocations: 1.098 MB / 484.7 MB, free: 63.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.093, allocations: 3.625 kB / 484.7 MB, free: 63.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.0115/1.105, allocations: 3.299 MB / 488 MB, free: 61.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/1.105, allocations: 9.344 kB / 488 MB, free: 61.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/1.105, allocations: 10.75 kB / 488.1 MB, free: 61.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005086/1.11, allocations: 0.9691 MB / 489 MB, free: 61.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/1.113, allocations: 366.3 kB / 489.4 MB, free: 61.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02668/1.14, allocations: 12.33 MB / 0.49 GB, free: 51.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.144, allocations: 114.1 kB / 0.4901 GB, free: 51.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/1.144, allocations: 79.52 kB / 0.4901 GB, free: 51.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002488/1.147, allocations: 0.7262 MB / 0.4908 GB, free: 50.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008423/1.148, allocations: 213.5 kB / 0.4911 GB, free: 50.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.158, allocations: 2.97 MB / 0.494 GB, free: 48.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.158, allocations: 20 kB / 0.494 GB, free: 48.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.158, allocations: 4 kB / 0.494 GB, free: 48.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.146e-05/1.158, allocations: 11.39 kB / 0.494 GB, free: 48.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.173, allocations: 5.887 MB / 0.4997 GB, free: 43.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.173, allocations: 6.188 kB / 0.4997 GB, free: 43.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.175, allocations: 219.9 kB / 0.5 GB, free: 43.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/1.179, allocations: 1.029 MB / 0.501 GB, free: 42.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.179, allocations: 46.52 kB / 0.501 GB, free: 42.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/1.2, allocations: 14.05 MB / 0.5147 GB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.201, allocations: 3.953 kB / 0.5147 GB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.211, allocations: 4.437 MB / 0.5191 GB, free: 24.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.213, allocations: 494.1 kB / 0.5195 GB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/1.213, allocations: 43.89 kB / 0.5196 GB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.215, allocations: 100.6 kB / 0.5197 GB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005645/1.216, allocations: 146.2 kB / 0.5198 GB, free: 24.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.216, allocations: 47.75 kB / 0.5199 GB, free: 24.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002742/1.219, allocations: 1.234 MB / 0.5211 GB, free: 23.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.219, allocations: 0 / 0.5211 GB, free: 23.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00382/1.223, allocations: 0.7455 MB / 0.5218 GB, free: 22.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/1.234, allocations: 5.778 MB / 0.5274 GB, free: 17.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007107/1.241, allocations: 3.172 MB / 0.5305 GB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.241, allocations: 4 kB / 0.5305 GB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004864/1.246, allocations: 2.147 MB / 0.5326 GB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/1.25, allocations: 0.5288 MB / 0.5331 GB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/1.278, allocations: 15.78 MB / 0.5486 GB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005501/1.283, allocations: 2.006 MB / 0.5505 GB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003419/1.287, allocations: 364.8 kB / 0.5509 GB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003529/1.29, allocations: 0.9679 MB / 0.5518 GB, free: 8.246 MB / 362.7 MB Notification: Performance of SimCode: time 2.454e-06/1.29, allocations: 0 / 0.5518 GB, free: 8.246 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3996/1.69, allocations: 59.23 MB / 0.6096 GB, free: 75.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.69, allocations: 259.8 kB / 0.6099 GB, free: 74.67 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.038/6.728, allocations: 0 / 0.6099 GB, free: 74.67 MB / 362.7 MB