Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 191.7 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007897/0.0007897, allocations: 96.89 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8 kB / 360.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2074, allocations: 51.4 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01324/0.2206, allocations: 18.91 MB / 431 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.2308, allocations: 8.871 MB / 439.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.2329, allocations: 131.6 kB / 440 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.236, allocations: 1.546 MB / 441.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007046/0.243, allocations: 3.432 MB / 445 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.2465, allocations: 1.964 MB / 446.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009454/0.256, allocations: 9.149 MB / 456.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02742/0.2834, allocations: 22.74 MB / 478.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004854/0.2883, allocations: 3.402 MB / 482.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.294, allocations: 4.007 MB / 486.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.2953, allocations: 0.5195 MB / 486.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.2979, allocations: 0.8473 MB / 487.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.2994, allocations: 1.639 MB / 489.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004809/0.3042, allocations: 3.905 MB / 493.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.3197, allocations: 17.13 MB / 0.4983 GB, free: 5.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3197, allocations: 4 kB / 0.4983 GB, free: 5.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3197, allocations: 4 kB / 0.4983 GB, free: 5.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003187/0.3201, allocations: 0 / 0.4983 GB, free: 5.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.1866/0.5067, allocations: 8.917 MB / 0.507 GB, free: 80.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5067, allocations: 9.094 kB / 0.507 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03093/0.5377, allocations: 5.916 MB / 0.5128 GB, free: 77.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009678/0.5474, allocations: 5.606 MB / 0.5183 GB, free: 73.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/0.5479, allocations: 0.5635 MB / 0.5188 GB, free: 73.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/0.5508, allocations: 0.7373 MB / 0.5195 GB, free: 73.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02321/0.574, allocations: 12.79 MB / 0.532 GB, free: 60.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.5742, allocations: 15.89 kB / 0.5321 GB, free: 60.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008369/0.5751, allocations: 316.9 kB / 0.5324 GB, free: 60.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003426/0.5754, allocations: 492.1 kB / 0.5328 GB, free: 59.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/0.597, allocations: 12.52 MB / 0.5451 GB, free: 47.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05294/0.65, allocations: 41.97 MB / 0.586 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/0.6678, allocations: 26.19 MB / 0.6116 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/0.6725, allocations: 3.219 MB / 0.6148 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.6729, allocations: 248.1 kB / 0.615 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.673, allocations: 81.72 kB / 0.6151 GB, free: 3.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=410): time 5.069e-06/0.673, allocations: 0 / 0.6151 GB, free: 3.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=415): time 0.03404/0.707, allocations: 16.82 MB / 0.6315 GB, free: 2.887 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.7071, allocations: 94.61 kB / 0.6316 GB, free: 2.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.7133, allocations: 2.82 MB / 0.6343 GB, free: 15.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007687/0.7141, allocations: 89.7 kB / 0.6344 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/0.7168, allocations: 3.043 MB / 0.6374 GB, free: 12.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002079/0.7189, allocations: 1.392 MB / 0.6388 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/0.7196, allocations: 100 kB / 0.6389 GB, free: 11.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005083/0.7201, allocations: 0.505 MB / 0.6394 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00623/0.7264, allocations: 2.489 MB / 0.6418 GB, free: 8.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007441/0.7338, allocations: 4.094 MB / 0.6458 GB, free: 3.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01426/0.7481, allocations: 7.156 MB / 0.6528 GB, free: 11.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.116e-05/0.7482, allocations: 16 kB / 0.6528 GB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01756/0.7658, allocations: 7.981 MB / 0.6606 GB, free: 3.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/0.7659, allocations: 28 kB / 0.6606 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.766, allocations: 48 kB / 0.6607 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/0.7695, allocations: 1.189 MB / 0.6618 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004375/0.7739, allocations: 1.135 MB / 0.6629 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.7892, allocations: 10.33 MB / 0.673 GB, free: 6.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/0.7929, allocations: 267.7 kB / 0.6733 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009332/0.7939, allocations: 236 kB / 0.6735 GB, free: 6.086 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005915/0.7998, allocations: 2.948 MB / 0.6764 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.8009, allocations: 355.6 kB / 0.6767 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2075/1.008, allocations: 6.662 MB / 0.6832 GB, free: 159.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.008, allocations: 45.59 kB / 0.6833 GB, free: 159.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/1.009, allocations: 9.781 kB / 0.6833 GB, free: 159.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/1.009, allocations: 20.86 kB / 0.6833 GB, free: 159.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/1.03, allocations: 15.14 MB / 0.6981 GB, free: 152.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.03, allocations: 3.969 kB / 0.6981 GB, free: 152.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/1.032, allocations: 0.7445 MB / 0.6988 GB, free: 152.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/1.035, allocations: 1.094 MB / 0.6999 GB, free: 152.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/1.035, allocations: 102.5 kB / 0.7 GB, free: 152.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.045, allocations: 9.278 MB / 0.709 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.045, allocations: 13.12 kB / 0.709 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.057, allocations: 9.943 MB / 0.7188 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.059, allocations: 0.9232 MB / 0.7197 GB, free: 138.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/1.06, allocations: 79.98 kB / 0.7197 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.061, allocations: 219.7 kB / 0.7199 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005909/1.062, allocations: 289.5 kB / 0.7202 GB, free: 138.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.062, allocations: 124 kB / 0.7203 GB, free: 138 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002308/1.064, allocations: 1.939 MB / 0.7222 GB, free: 136 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.064, allocations: 0 / 0.7222 GB, free: 136 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003492/1.068, allocations: 1.39 MB / 0.7236 GB, free: 134.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004631/1.068, allocations: 283.4 kB / 0.7239 GB, free: 134.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008659/1.077, allocations: 6.687 MB / 0.7304 GB, free: 127.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.077, allocations: 4 kB / 0.7304 GB, free: 127.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004603/1.082, allocations: 3.533 MB / 0.7338 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.087, allocations: 0.7905 MB / 0.7346 GB, free: 123.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.106, allocations: 17.44 MB / 0.7517 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/1.11, allocations: 5.08 MB / 0.7566 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004058/1.114, allocations: 1.614 MB / 0.7582 GB, free: 99.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008395/1.115, allocations: 315.4 kB / 0.7585 GB, free: 98.8 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/1.115, allocations: 0 / 0.7585 GB, free: 98.8 MB / 474.7 MB Notification: Performance of Templates: time 0.07806/1.193, allocations: 59.13 MB / 0.8162 GB, free: 40.03 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)