Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 96.64 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 174.2 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004664, allocations: 23.44 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09039, allocations: 47.57 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.0125/0.1029, allocations: 10.93 MB / 338.6 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009477/0.1125, allocations: 4.248 MB / 342.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.1149, allocations: 63.75 kB / 342.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.1182, allocations: 0.7656 MB / 343.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.1226, allocations: 1.161 MB / 344.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.125, allocations: 0.608 MB / 345.5 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005968/0.131, allocations: 2.835 MB / 348.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004099/0.1351, allocations: 2.182 MB / 350.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.138, allocations: 1.265 MB / 351.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.141, allocations: 1.474 MB / 353.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006313/0.1417, allocations: 204 kB / 353.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.1433, allocations: 371.8 kB / 353.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.144, allocations: 0.7202 MB / 354.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.1453, allocations: 0.7382 MB / 355.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.1515, allocations: 5.426 MB / 360.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1516, allocations: 0 / 360.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1516, allocations: 4 kB / 360.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00019/0.1518, allocations: 0 / 360.7 MB, free: 2.969 MB / 302.1 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.01012/0.1619, allocations: 3.728 MB / 364.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.162, allocations: 8.031 kB / 364.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004416/0.1664, allocations: 0.8231 MB / 365.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.1707, allocations: 2.19 MB / 367.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.1709, allocations: 242.5 kB / 367.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/0.1715, allocations: 319.9 kB / 368 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007105/0.1786, allocations: 4.216 MB / 372.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.905e-05/0.1787, allocations: 8 kB / 372.2 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.179, allocations: 132 kB / 372.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.1791, allocations: 146.4 kB / 372.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00618/0.1853, allocations: 3.574 MB / 376.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.3799, allocations: 13.89 MB / 389.9 MB, free: 41.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.3852, allocations: 6.545 MB / 396.5 MB, free: 36.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004842/0.39, allocations: 3.218 MB / 399.7 MB, free: 33.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3901, allocations: 49.5 kB / 399.8 MB, free: 33.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 3.217e-06/0.3901, allocations: 0 / 399.8 MB, free: 33.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=143): time 0.009893/0.4, allocations: 5.999 MB / 405.8 MB, free: 30.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.4001, allocations: 68.5 kB / 405.8 MB, free: 29.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.4021, allocations: 1.725 MB / 407.5 MB, free: 29.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.4023, allocations: 53.45 kB / 407.6 MB, free: 29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.4029, allocations: 1.424 MB / 409 MB, free: 27.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.4032, allocations: 0.4888 MB / 409.5 MB, free: 27.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.4033, allocations: 34.75 kB / 409.5 MB, free: 27.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4034, allocations: 375.6 kB / 409.9 MB, free: 26.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/0.4044, allocations: 0.6953 MB / 410.6 MB, free: 26.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4055, allocations: 1.198 MB / 411.8 MB, free: 25.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.4066, allocations: 0.9172 MB / 412.7 MB, free: 25.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4066, allocations: 3.75 kB / 412.7 MB, free: 25.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003252/0.4098, allocations: 2.573 MB / 415.3 MB, free: 23.58 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4099, allocations: 12 kB / 415.3 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.4099, allocations: 16 kB / 415.3 MB, free: 23.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/0.4107, allocations: 361.4 kB / 415.7 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.4121, allocations: 387.4 kB / 416.1 MB, free: 22.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005448/0.4175, allocations: 7.778 MB / 423.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.4191, allocations: 83.86 kB / 423.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.4192, allocations: 72 kB / 424 MB, free: 14.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * 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: 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: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001632/0.4209, allocations: 1.002 MB / 425 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.4212, allocations: 189.7 kB / 425.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.4244, allocations: 2.349 MB / 427.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4245, allocations: 12 kB / 427.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.4245, allocations: 12 kB / 427.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4245, allocations: 11.97 kB / 427.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007013/0.4315, allocations: 5.15 MB / 432.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4316, allocations: 0 / 432.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/0.4324, allocations: 193.7 kB / 432.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.4336, allocations: 0.5262 MB / 433.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/0.4337, allocations: 39.98 kB / 433.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.4446, allocations: 12.2 MB / 445.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4447, allocations: 3.953 kB / 445.7 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005218/0.4499, allocations: 3.393 MB / 449.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/0.4508, allocations: 434.6 kB / 449.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.4511, allocations: 39.98 kB / 449.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.452, allocations: 67.95 kB / 449.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4522, allocations: 113.2 kB / 449.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.4523, allocations: 39.98 kB / 449.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00172/0.454, allocations: 1.168 MB / 450.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.454, allocations: 0 / 450.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002125/0.4562, allocations: 0.5886 MB / 451.5 MB, free: 1.754 MB / 334.1 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.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,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 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(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.0003443/0.4565, allocations: 153.9 kB / 451.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.4602, allocations: 2.407 MB / 454.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.4602, allocations: 4.531 kB / 454.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.4627, allocations: 1.769 MB / 455.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.4648, allocations: 0.5017 MB / 456.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.4751, allocations: 7.102 MB / 463.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.4772, allocations: 2.37 MB / 465.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001477/0.4787, allocations: 401 kB / 466.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.479, allocations: 123.4 kB / 466.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.479, allocations: 3.938 kB / 466.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Templates: time 0.04715/0.5262, allocations: 27.23 MB / 493.5 MB, free: 7.449 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) Environment - environmentSimulation: