Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3179, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.507, allocations: 104.7 MB / 413.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5073, allocations: 87.95 kB / 413.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5539/1.061, allocations: 80.55 MB / 493.9 MB, free: 31.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.597e-06/1.061, allocations: 0 / 493.9 MB, free: 31.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003611/1.062, allocations: 83.92 kB / 494 MB, free: 31.68 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01524/1.077, allocations: 3.513 MB / 497.5 MB, free: 28.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.077, allocations: 8.031 kB / 497.5 MB, free: 28.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001905/1.079, allocations: 463.6 kB / 498 MB, free: 27.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/1.085, allocations: 0.7412 MB / 498.7 MB, free: 26.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.098, allocations: 3.32 MB / 0.4903 GB, free: 23.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/1.098, allocations: 254.4 kB / 0.4905 GB, free: 23.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.1, allocations: 323.9 kB / 0.4908 GB, free: 22.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/1.112, allocations: 4.196 MB / 0.4949 GB, free: 18.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/1.112, allocations: 7.891 kB / 0.4949 GB, free: 18.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/1.113, allocations: 140 kB / 0.4951 GB, free: 18.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/1.113, allocations: 142.5 kB / 0.4952 GB, free: 18.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/1.123, allocations: 3.426 MB / 0.4985 GB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/1.159, allocations: 13.92 MB / 0.5121 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.171, allocations: 6.671 MB / 0.5187 GB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009467/1.18, allocations: 3.394 MB / 0.522 GB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.18, allocations: 47.88 kB / 0.522 GB, free: 5.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=152): time 5.32e-06/1.18, allocations: 4 kB / 0.522 GB, free: 5.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=155): time 0.0227/1.203, allocations: 6.475 MB / 0.5283 GB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.203, allocations: 72.72 kB / 0.5284 GB, free: 14.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/1.207, allocations: 1.528 MB / 0.5299 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003968/1.208, allocations: 49.7 kB / 0.5299 GB, free: 13.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.209, allocations: 1.404 MB / 0.5313 GB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009332/1.21, allocations: 0.5276 MB / 0.5318 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/1.211, allocations: 32 kB / 0.5319 GB, free: 11.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/1.211, allocations: 381.9 kB / 0.5322 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.213, allocations: 0.7223 MB / 0.5329 GB, free: 10.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/1.216, allocations: 1.186 MB / 0.5341 GB, free: 8.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/1.22, allocations: 0.9429 MB / 0.535 GB, free: 7.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/1.22, allocations: 4 kB / 0.535 GB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008946/1.229, allocations: 2.712 MB / 0.5377 GB, free: 5.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/1.229, allocations: 12 kB / 0.5377 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/1.229, allocations: 12 kB / 0.5377 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/1.231, allocations: 441.2 kB / 0.5381 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/1.234, allocations: 383.4 kB / 0.5385 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.249, allocations: 9.799 MB / 0.548 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/1.252, allocations: 79.95 kB / 0.5481 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/1.252, allocations: 68 kB / 0.5482 GB, free: 9.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003003/1.255, allocations: 1.02 MB / 0.5492 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007396/1.256, allocations: 193.6 kB / 0.5494 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008073/1.264, allocations: 2.533 MB / 0.5518 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.264, allocations: 19.94 kB / 0.5519 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-05/1.264, allocations: 8 kB / 0.5519 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.356e-05/1.264, allocations: 7.969 kB / 0.5519 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/1.281, allocations: 5.447 MB / 0.5572 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.281, allocations: 4 kB / 0.5572 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3074/1.589, allocations: 181.6 kB / 0.5574 GB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003705/1.592, allocations: 0.6209 MB / 0.558 GB, free: 83.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.593, allocations: 41.61 kB / 0.558 GB, free: 83.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01939/1.612, allocations: 14.29 MB / 0.572 GB, free: 74.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.612, allocations: 1.125 kB / 0.572 GB, free: 74.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009815/1.622, allocations: 3.658 MB / 0.5755 GB, free: 73.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.624, allocations: 448.9 kB / 0.576 GB, free: 73.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000786/1.625, allocations: 33.75 kB / 0.576 GB, free: 73.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.627, allocations: 78.97 kB / 0.5761 GB, free: 73.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007249/1.628, allocations: 124.2 kB / 0.5762 GB, free: 73.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.628, allocations: 46.38 kB / 0.5762 GB, free: 73.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002994/1.631, allocations: 1.176 MB / 0.5774 GB, free: 73.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.355e-06/1.631, allocations: 0 / 0.5774 GB, free: 73.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004174/1.635, allocations: 0.6485 MB / 0.578 GB, free: 73.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.011/1.646, allocations: 4.842 MB / 0.5827 GB, free: 71.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006765/1.653, allocations: 2.653 MB / 0.5853 GB, free: 71.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.653, allocations: 3.062 kB / 0.5853 GB, free: 71.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00487/1.658, allocations: 2.015 MB / 0.5873 GB, free: 70.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004312/1.662, allocations: 0.5 MB / 0.5878 GB, free: 70.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05053/1.713, allocations: 26.1 MB / 0.6133 GB, free: 54.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004133/1.717, allocations: 2.378 MB / 0.6156 GB, free: 53.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002767/1.72, allocations: 396.1 kB / 0.616 GB, free: 53.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/1.723, allocations: 1.127 MB / 0.6171 GB, free: 52.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/1.723, allocations: 0 / 0.6171 GB, free: 52.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.872, allocations: 54.51 MB / 0.6703 GB, free: 20.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/1.873, allocations: 225.1 kB / 0.6705 GB, free: 20.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/6.353, allocations: 0 / 0.6705 GB, free: 20.6 MB / 394.7 MB