Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001087/0.001087, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001181/0.001182, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.585/1.585, allocations: 205.1 MB / 223.3 MB, free: 12.44 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.001228/0.001228, allocations: 48.39 kB / 279.4 MB, free: 3.543 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.63 MB / 326 MB, free: 4.844 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02503/0.1386, allocations: 24.53 MB / 350.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.1577, allocations: 7.655 MB / 358.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006678/0.1645, allocations: 143.6 kB / 358.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01875/0.1833, allocations: 7.908 MB / 366.2 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.1952, allocations: 2.796 MB / 369 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.2019, allocations: 1.672 MB / 370.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2388/0.4407, allocations: 11.14 MB / 381.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03241/0.4732, allocations: 19.66 MB / 401.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/0.4853, allocations: 5.139 MB / 406.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/0.4964, allocations: 6.29 MB / 412.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005228/0.5017, allocations: 1.11 MB / 414 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007588/0.5093, allocations: 1.502 MB / 415.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009357/0.5187, allocations: 3.192 MB / 418.7 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0159/0.5346, allocations: 5.849 MB / 424.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03252/0.5672, allocations: 22.61 MB / 447.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.5673, allocations: 0 / 447.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5673, allocations: 0 / 447.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008082/0.5681, allocations: 0 / 447.2 MB, free: 5.262 MB / 350.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.04864/0.6167, allocations: 13.63 MB / 460.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6168, allocations: 8.031 kB / 460.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03983/0.6566, allocations: 7.203 MB / 468 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.6724, allocations: 6.488 MB / 474.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008268/0.6733, allocations: 0.7328 MB / 475.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004878/0.6782, allocations: 0.9644 MB / 476.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.046/0.7242, allocations: 16.61 MB / 492.8 MB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003619/0.7246, allocations: 11.91 kB / 492.8 MB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00389/0.7285, allocations: 406.5 kB / 493.2 MB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006333/0.7291, allocations: 0.5909 MB / 493.8 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03453/0.7637, allocations: 15.79 MB / 0.4977 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4231/1.187, allocations: 53.87 MB / 0.5503 GB, free: 119.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/1.204, allocations: 22.75 MB / 0.5725 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005467/1.21, allocations: 3.827 MB / 0.5762 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01783/1.228, allocations: 11.8 MB / 0.5877 GB, free: 98.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.228, allocations: 77.45 kB / 0.5878 GB, free: 98.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.761e-06/1.228, allocations: 3.984 kB / 0.5878 GB, free: 98.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.04099/1.269, allocations: 17.48 MB / 0.6049 GB, free: 89.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.269, allocations: 94.48 kB / 0.605 GB, free: 89.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009226/1.278, allocations: 4.76 MB / 0.6096 GB, free: 87.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009146/1.279, allocations: 89.52 kB / 0.6097 GB, free: 87.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002716/1.282, allocations: 4.474 MB / 0.6141 GB, free: 83.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.284, allocations: 1.272 MB / 0.6153 GB, free: 82.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003506/1.287, allocations: 1.193 MB / 0.6165 GB, free: 81.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/1.287, allocations: 305.1 kB / 0.6168 GB, free: 81.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004578/1.292, allocations: 2.929 MB / 0.6196 GB, free: 79.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005613/1.297, allocations: 5.292 MB / 0.6248 GB, free: 73.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.307, allocations: 8.708 MB / 0.6333 GB, free: 63.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.813e-05/1.308, allocations: 20 kB / 0.6333 GB, free: 63.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01754/1.325, allocations: 9.67 MB / 0.6428 GB, free: 54.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/1.325, allocations: 36.62 kB / 0.6428 GB, free: 54.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.325, allocations: 80 kB / 0.6429 GB, free: 54.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/1.329, allocations: 1.407 MB / 0.6443 GB, free: 52.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/1.334, allocations: 1.33 MB / 0.6456 GB, free: 51.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.349, allocations: 11.66 MB / 0.657 GB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005794/1.354, allocations: 371.4 kB / 0.6573 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.356, allocations: 304 kB / 0.6576 GB, free: 38.69 MB / 446.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.01135/1.367, allocations: 3.923 MB / 0.6614 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/1.369, allocations: 450.4 kB / 0.6619 GB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.383, allocations: 6.819 MB / 0.6685 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009314/1.393, allocations: 5.635 MB / 0.674 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/1.393, allocations: 12 kB / 0.674 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/1.393, allocations: 19.92 kB / 0.6741 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02949/1.422, allocations: 15.52 MB / 0.6892 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.422, allocations: 8 kB / 0.6892 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/1.425, allocations: 0.6669 MB / 0.6899 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/1.429, allocations: 1.267 MB / 0.6911 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007424/1.429, allocations: 91.97 kB / 0.6912 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.444, allocations: 10.57 MB / 0.7015 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/1.444, allocations: 11.98 kB / 0.7015 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2457/1.69, allocations: 10.09 MB / 0.7114 GB, free: 143.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/1.694, allocations: 1.024 MB / 0.7124 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009161/1.695, allocations: 71.97 kB / 0.7124 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.697, allocations: 215.4 kB / 0.7127 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009489/1.698, allocations: 280.6 kB / 0.7129 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/1.698, allocations: 112.5 kB / 0.713 GB, free: 143.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005695/1.704, allocations: 3.231 MB / 0.7162 GB, free: 142.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.704, allocations: 0 / 0.7162 GB, free: 142.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008215/1.712, allocations: 1.691 MB / 0.7178 GB, free: 142.9 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.001599/1.714, allocations: 0.5071 MB / 0.7183 GB, free: 142.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01329/1.727, allocations: 7.592 MB / 0.7257 GB, free: 140.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.727, allocations: 3.969 kB / 0.7257 GB, free: 140.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005577/1.733, allocations: 3.6 MB / 0.7293 GB, free: 138.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/1.738, allocations: 0.9696 MB / 0.7302 GB, free: 138.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04039/1.779, allocations: 22.18 MB / 0.7519 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/1.791, allocations: 6.552 MB / 0.7583 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007911/1.799, allocations: 2.101 MB / 0.7603 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/1.8, allocations: 352.4 kB / 0.7607 GB, free: 123.4 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/1.8, allocations: 3.625 kB / 0.7607 GB, free: 123.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1125/1.913, allocations: 69.28 MB / 0.8283 GB, free: 57.97 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)