Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2456, allocations: 50.54 MB / 409.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02119/0.2668, allocations: 21.55 MB / 430.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.28, allocations: 6.781 MB / 437.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.2835, allocations: 151.6 kB / 437.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01608/0.2997, allocations: 6.871 MB / 444.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.3098, allocations: 2.794 MB / 447.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.3144, allocations: 1.578 MB / 449 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.3256, allocations: 9.06 MB / 458.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.026/0.3516, allocations: 17.79 MB / 475.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006631/0.3583, allocations: 4.652 MB / 480.5 MB, free: 9.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007442/0.3658, allocations: 5.171 MB / 485.7 MB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003129/0.3689, allocations: 1.355 MB / 487 MB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/0.3735, allocations: 1.687 MB / 488.7 MB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003451/0.3769, allocations: 2.615 MB / 491.3 MB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007423/0.3844, allocations: 4.962 MB / 496.3 MB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.402, allocations: 18.22 MB / 0.5025 GB, free: 7.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4021, allocations: 0 / 0.5025 GB, free: 7.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4021, allocations: 0 / 0.5025 GB, free: 7.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004427/0.4025, allocations: 0 / 0.5025 GB, free: 7.867 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.03112/0.4337, allocations: 10.57 MB / 0.5128 GB, free: 13.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4337, allocations: 8.031 kB / 0.5128 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/0.4663, allocations: 5.941 MB / 0.5186 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.4783, allocations: 5.713 MB / 0.5242 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/0.4789, allocations: 0.554 MB / 0.5247 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002888/0.4818, allocations: 0.7342 MB / 0.5254 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/0.5085, allocations: 12.86 MB / 0.538 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.5087, allocations: 11.81 kB / 0.538 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001133/0.5099, allocations: 312 kB / 0.5383 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00046/0.5104, allocations: 496.1 kB / 0.5388 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.268/0.7784, allocations: 12.58 MB / 0.5511 GB, free: 109.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05221/0.8306, allocations: 41.42 MB / 0.5915 GB, free: 74.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.8444, allocations: 26.24 MB / 0.6171 GB, free: 45.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004336/0.8488, allocations: 3.214 MB / 0.6203 GB, free: 42.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.8491, allocations: 248.4 kB / 0.6205 GB, free: 41.85 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.8492, allocations: 73.59 kB / 0.6206 GB, free: 41.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 6.923e-06/0.8492, allocations: 3.938 kB / 0.6206 GB, free: 41.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03155/0.8808, allocations: 17 MB / 0.6372 GB, free: 24.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.8808, allocations: 94.67 kB / 0.6373 GB, free: 24.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.8841, allocations: 2.839 MB / 0.64 GB, free: 21.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.8843, allocations: 93.7 kB / 0.6401 GB, free: 21.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.8854, allocations: 3.035 MB / 0.6431 GB, free: 18.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007526/0.8862, allocations: 1.392 MB / 0.6445 GB, free: 17.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.8874, allocations: 0.9461 MB / 0.6454 GB, free: 16.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.8874, allocations: 308.8 kB / 0.6457 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.8904, allocations: 2.505 MB / 0.6481 GB, free: 13.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.894, allocations: 4.113 MB / 0.6521 GB, free: 8.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006963/0.9009, allocations: 7.187 MB / 0.6592 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/0.901, allocations: 12 kB / 0.6592 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01269/0.9137, allocations: 8.024 MB / 0.667 GB, free: 8.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.9137, allocations: 31.94 kB / 0.667 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.85e-05/0.9138, allocations: 51.94 kB / 0.6671 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/0.9172, allocations: 1.236 MB / 0.6683 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/0.9212, allocations: 1.131 MB / 0.6694 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/0.9362, allocations: 11.23 MB / 0.6804 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.9398, allocations: 279.6 kB / 0.6806 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/0.9403, allocations: 228 kB / 0.6808 GB, free: 10.18 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.004722/0.9451, allocations: 2.959 MB / 0.6837 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/0.9458, allocations: 347.8 kB / 0.6841 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.9571, allocations: 6.698 MB / 0.6906 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.9572, allocations: 48 kB / 0.6907 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.9572, allocations: 8 kB / 0.6907 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/0.9572, allocations: 19.92 kB / 0.6907 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/0.9821, allocations: 14.87 MB / 0.7052 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.9822, allocations: 8 kB / 0.7052 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/0.9851, allocations: 0.7489 MB / 0.7059 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.9882, allocations: 1.13 MB / 0.707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/0.9885, allocations: 87.98 kB / 0.7071 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/1.002, allocations: 10.17 MB / 0.7171 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.002, allocations: 15.88 kB / 0.7171 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/1.019, allocations: 10.01 MB / 0.7268 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.021, allocations: 0.9221 MB / 0.7277 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/1.021, allocations: 84 kB / 0.7278 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/1.023, allocations: 203.8 kB / 0.728 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006487/1.024, allocations: 295.2 kB / 0.7283 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/1.024, allocations: 128 kB / 0.7284 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002925/1.027, allocations: 1.959 MB / 0.7303 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/1.027, allocations: 0 / 0.7303 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004591/1.032, allocations: 1.393 MB / 0.7317 GB, free: 5.562 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.0005891/1.032, allocations: 257 kB / 0.7319 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.043, allocations: 6.743 MB / 0.7385 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.043, allocations: 4.062 kB / 0.7385 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006097/1.05, allocations: 3.551 MB / 0.742 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/1.053, allocations: 0.8443 MB / 0.7428 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2396/1.293, allocations: 14.03 MB / 0.7565 GB, free: 190.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004719/1.298, allocations: 5.079 MB / 0.7615 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003821/1.302, allocations: 1.618 MB / 0.7631 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/1.303, allocations: 315.9 kB / 0.7634 GB, free: 189.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.303, allocations: 0 / 0.7634 GB, free: 189.3 MB / 0.545 GB Notification: Performance of Templates: time 0.08155/1.384, allocations: 60.17 MB / 0.8221 GB, free: 143.9 MB / 0.545 GB 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)