Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 55.91 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2381, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02471/0.2628, allocations: 21.62 MB / 431.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.2767, allocations: 6.792 MB / 438.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004032/0.2807, allocations: 147.6 kB / 438.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01707/0.2978, allocations: 6.894 MB / 445.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.3089, allocations: 2.794 MB / 448.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.3141, allocations: 1.578 MB / 450.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01507/0.3292, allocations: 9.073 MB / 459.1 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.023/0.3522, allocations: 13.05 MB / 472.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007364/0.3595, allocations: 4.656 MB / 476.8 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008362/0.3679, allocations: 5.167 MB / 482 MB, free: 9.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00341/0.3713, allocations: 1.355 MB / 483.4 MB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.3759, allocations: 1.695 MB / 485.1 MB, free: 6.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003358/0.3793, allocations: 2.619 MB / 487.7 MB, free: 3.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007611/0.3869, allocations: 4.958 MB / 492.6 MB, free: 14.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.4081, allocations: 18.26 MB / 0.4989 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4081, allocations: 0 / 0.4989 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4081, allocations: 0 / 0.4989 GB, free: 12.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003521/0.4085, allocations: 0 / 0.4989 GB, free: 12.36 MB / 430.1 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.03165/0.4401, allocations: 10.75 MB / 0.5094 GB, free: 1.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4401, allocations: 12.03 kB / 0.5094 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03497/0.4751, allocations: 5.981 MB / 0.5153 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.4876, allocations: 5.727 MB / 0.5209 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005147/0.4881, allocations: 0.5579 MB / 0.5214 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/0.4906, allocations: 0.7381 MB / 0.5221 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/0.5206, allocations: 12.85 MB / 0.5347 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.5208, allocations: 15.95 kB / 0.5347 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/0.5222, allocations: 312 kB / 0.535 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005437/0.5228, allocations: 0.4883 MB / 0.5355 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.385/0.9078, allocations: 12.58 MB / 0.5478 GB, free: 109 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04902/0.9568, allocations: 41.51 MB / 0.5883 GB, free: 78.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.9709, allocations: 25.85 MB / 0.6135 GB, free: 49.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/0.975, allocations: 2.913 MB / 0.6164 GB, free: 46.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.9753, allocations: 244.6 kB / 0.6166 GB, free: 46.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.9754, allocations: 77.78 kB / 0.6167 GB, free: 46.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 5.841e-06/0.9754, allocations: 0 / 0.6167 GB, free: 46.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03277/1.008, allocations: 17.05 MB / 0.6333 GB, free: 29.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.008, allocations: 90.67 kB / 0.6334 GB, free: 29.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/1.011, allocations: 2.845 MB / 0.6362 GB, free: 26.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002872/1.012, allocations: 89.7 kB / 0.6363 GB, free: 26.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/1.013, allocations: 3.149 MB / 0.6394 GB, free: 23.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007881/1.014, allocations: 1.474 MB / 0.6408 GB, free: 22.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/1.015, allocations: 0.9466 MB / 0.6417 GB, free: 21.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/1.015, allocations: 304.8 kB / 0.642 GB, free: 20.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.018, allocations: 2.505 MB / 0.6445 GB, free: 18.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/1.021, allocations: 4.113 MB / 0.6485 GB, free: 13.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/1.028, allocations: 7.179 MB / 0.6555 GB, free: 5.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/1.028, allocations: 16 kB / 0.6555 GB, free: 5.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01253/1.041, allocations: 7.998 MB / 0.6633 GB, free: 13.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/1.041, allocations: 35.88 kB / 0.6634 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.811e-05/1.041, allocations: 52.86 kB / 0.6634 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/1.045, allocations: 1.239 MB / 0.6646 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004633/1.05, allocations: 1.123 MB / 0.6657 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.068, allocations: 11.25 MB / 0.6767 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.071, allocations: 275.8 kB / 0.677 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005728/1.072, allocations: 228 kB / 0.6772 GB, free: 15.2 MB / 494.1 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.005219/1.077, allocations: 2.952 MB / 0.6801 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008786/1.078, allocations: 369.6 kB / 0.6804 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.091, allocations: 6.667 MB / 0.6869 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/1.091, allocations: 40 kB / 0.687 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/1.091, allocations: 12 kB / 0.687 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.104e-05/1.091, allocations: 27.8 kB / 0.687 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.119, allocations: 14.84 MB / 0.7015 GB, free: 6.184 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/1.119, allocations: 8 kB / 0.7015 GB, free: 6.176 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/1.123, allocations: 0.7527 MB / 0.7022 GB, free: 5.422 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/1.126, allocations: 1.126 MB / 0.7033 GB, free: 4.289 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/1.126, allocations: 99.91 kB / 0.7034 GB, free: 4.191 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.142, allocations: 10.17 MB / 0.7134 GB, free: 9.766 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.142, allocations: 7.938 kB / 0.7134 GB, free: 9.758 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.159, allocations: 9.994 MB / 0.7231 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/1.162, allocations: 0.932 MB / 0.724 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005907/1.163, allocations: 83.95 kB / 0.7241 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.165, allocations: 207.8 kB / 0.7243 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000672/1.165, allocations: 303.2 kB / 0.7246 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/1.166, allocations: 120 kB / 0.7247 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003222/1.169, allocations: 1.955 MB / 0.7266 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.169, allocations: 0 / 0.7266 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00508/1.174, allocations: 1.394 MB / 0.728 GB, free: 10.63 MB / 0.5294 GB 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.0007221/1.175, allocations: 273.8 kB / 0.7282 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.188, allocations: 6.479 MB / 0.7346 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.188, allocations: 0 / 0.7346 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006809/1.194, allocations: 3.299 MB / 0.7378 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/1.198, allocations: 0.8391 MB / 0.7386 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.224, allocations: 14.23 MB / 0.7525 GB, free: 1.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2094/1.433, allocations: 5.078 MB / 0.7575 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003892/1.437, allocations: 1.621 MB / 0.7591 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008971/1.438, allocations: 313.3 kB / 0.7594 GB, free: 189.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.438, allocations: 0 / 0.7594 GB, free: 189.2 MB / 0.545 GB Notification: Performance of Templates: time 0.0852/1.523, allocations: 60.77 MB / 0.8187 GB, free: 146.5 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)