Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001361/0.001361, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.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.001208/0.001208, allocations: 55.92 kB / 278.1 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2713, allocations: 46.62 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02616/0.2976, allocations: 24.54 MB / 349.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.3159, allocations: 7.652 MB / 356.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006514/0.3225, allocations: 147.5 kB / 357 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01963/0.3422, allocations: 7.908 MB / 364.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3528, allocations: 2.777 MB / 367.7 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005802/0.3586, allocations: 1.696 MB / 369.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01468/0.3733, allocations: 11.14 MB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03526/0.4086, allocations: 19.64 MB / 400.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009141/0.4178, allocations: 5.145 MB / 405.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.4286, allocations: 6.279 MB / 411.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004522/0.4332, allocations: 1.113 MB / 412.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/0.4401, allocations: 1.511 MB / 414.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005455/0.4456, allocations: 2.785 MB / 417 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01475/0.4604, allocations: 5.799 MB / 422.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02564/0.486, allocations: 22.62 MB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4861, allocations: 3.938 kB / 445.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4861, allocations: 3.938 kB / 445.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007405/0.4868, allocations: 0 / 445.5 MB, free: 10.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.3492/0.8361, allocations: 13.63 MB / 459.1 MB, free: 94.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.8361, allocations: 9.188 kB / 459.1 MB, free: 94.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03862/0.8748, allocations: 7.204 MB / 466.3 MB, free: 92.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.8874, allocations: 6.474 MB / 472.8 MB, free: 88.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007478/0.8882, allocations: 0.735 MB / 473.5 MB, free: 88.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003636/0.8918, allocations: 0.9634 MB / 474.5 MB, free: 87.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/0.9275, allocations: 16.62 MB / 491.1 MB, free: 71.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003887/0.9279, allocations: 7.906 kB / 491.1 MB, free: 71.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002669/0.9306, allocations: 419.7 kB / 491.5 MB, free: 71.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004391/0.9311, allocations: 0.5831 MB / 492.1 MB, free: 70.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02852/0.9596, allocations: 15.8 MB / 0.496 GB, free: 54.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0745/1.034, allocations: 53.87 MB / 0.5486 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.054, allocations: 22.74 MB / 0.5708 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006407/1.061, allocations: 3.831 MB / 0.5745 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02189/1.083, allocations: 11.79 MB / 0.5861 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/1.083, allocations: 69.39 kB / 0.5861 GB, free: 7.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=363): time 5.791e-06/1.083, allocations: 4 kB / 0.5861 GB, free: 7.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=368): time 0.04002/1.123, allocations: 17.48 MB / 0.6032 GB, free: 5.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/1.123, allocations: 94.2 kB / 0.6033 GB, free: 5.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008449/1.132, allocations: 4.765 MB / 0.6079 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007277/1.132, allocations: 81.7 kB / 0.608 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003113/1.135, allocations: 4.474 MB / 0.6124 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.137, allocations: 1.267 MB / 0.6136 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002464/1.139, allocations: 1.191 MB / 0.6148 GB, free: 9.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/1.14, allocations: 305.1 kB / 0.6151 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00466/1.144, allocations: 2.936 MB / 0.6179 GB, free: 6.387 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2005/1.345, allocations: 5.293 MB / 0.6231 GB, free: 156.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/1.358, allocations: 8.705 MB / 0.6316 GB, free: 152.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.671e-05/1.359, allocations: 25.22 kB / 0.6316 GB, free: 152.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01893/1.378, allocations: 9.663 MB / 0.6411 GB, free: 148.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/1.378, allocations: 43.03 kB / 0.6411 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/1.378, allocations: 78.28 kB / 0.6412 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003684/1.382, allocations: 1.401 MB / 0.6426 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004984/1.387, allocations: 1.331 MB / 0.6439 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.402, allocations: 11.67 MB / 0.6553 GB, free: 141.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/1.407, allocations: 371.5 kB / 0.6556 GB, free: 141.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.409, allocations: 306.2 kB / 0.6559 GB, free: 141.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007788/1.416, allocations: 3.925 MB / 0.6597 GB, free: 139.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/1.418, allocations: 446.1 kB / 0.6602 GB, free: 139.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.43, allocations: 6.812 MB / 0.6668 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008497/1.439, allocations: 5.636 MB / 0.6723 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-05/1.439, allocations: 12.88 kB / 0.6723 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/1.439, allocations: 25.06 kB / 0.6724 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/1.463, allocations: 15.51 MB / 0.6875 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.463, allocations: 8 kB / 0.6875 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/1.466, allocations: 0.6605 MB / 0.6882 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/1.469, allocations: 1.271 MB / 0.6894 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/1.47, allocations: 91.72 kB / 0.6895 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/1.482, allocations: 10.57 MB / 0.6998 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.482, allocations: 11.88 kB / 0.6998 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.5, allocations: 10.09 MB / 0.7097 GB, free: 90.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/1.503, allocations: 1.03 MB / 0.7107 GB, free: 89.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/1.504, allocations: 79.91 kB / 0.7108 GB, free: 89.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.507, allocations: 215.8 kB / 0.711 GB, free: 88.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000904/1.508, allocations: 275.1 kB / 0.7112 GB, free: 88.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/1.509, allocations: 119.9 kB / 0.7113 GB, free: 88.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005606/1.514, allocations: 3.229 MB / 0.7145 GB, free: 85.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.514, allocations: 0 / 0.7145 GB, free: 85.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007888/1.522, allocations: 1.7 MB / 0.7161 GB, free: 83.64 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/1.524, allocations: 0.5107 MB / 0.7166 GB, free: 83.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0116/1.535, allocations: 7.57 MB / 0.724 GB, free: 75.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.536, allocations: 7.938 kB / 0.724 GB, free: 75.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005894/1.541, allocations: 3.603 MB / 0.7276 GB, free: 71.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006131/1.548, allocations: 0.9698 MB / 0.7285 GB, free: 70.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/1.581, allocations: 22.19 MB / 0.7502 GB, free: 48.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006652/1.588, allocations: 6.559 MB / 0.7566 GB, free: 42.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005727/1.594, allocations: 2.11 MB / 0.7586 GB, free: 39.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.595, allocations: 355.4 kB / 0.759 GB, free: 39.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/1.595, allocations: 0 / 0.759 GB, free: 39.63 MB / 462.1 MB Notification: Performance of Templates: time 0.3085/1.903, allocations: 69.26 MB / 0.8266 GB, free: 129.8 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)