Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001492/0.001491, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00127/0.00127, allocations: 193.9 kB / 16.25 MB, free: 6.625 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.503/1.503, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001181/0.001182, allocations: 51.92 kB / 278.3 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 46.62 MB / 324.9 MB, free: 2.164 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02511/0.3134, allocations: 24.53 MB / 349.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.3309, allocations: 7.61 MB / 357 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007097/0.3381, allocations: 147.5 kB / 357.2 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01918/0.3573, allocations: 7.92 MB / 365.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.3692, allocations: 2.769 MB / 367.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006561/0.3758, allocations: 1.664 MB / 369.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.016/0.3918, allocations: 11.19 MB / 380.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04479/0.4366, allocations: 26.92 MB / 407.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/0.4484, allocations: 6.016 MB / 413.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01373/0.4622, allocations: 6.693 MB / 420.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005512/0.4677, allocations: 1.727 MB / 422.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007831/0.4756, allocations: 2.128 MB / 424.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006025/0.4817, allocations: 3.418 MB / 427.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0149/0.4966, allocations: 6.432 MB / 434 MB, free: 6.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4693/0.9659, allocations: 23.03 MB / 457.1 MB, free: 52.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9659, allocations: 4.188 kB / 457.1 MB, free: 52.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.9659, allocations: 0.9688 kB / 457.1 MB, free: 52.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007363/0.9667, allocations: 0.5625 kB / 457.1 MB, free: 52.89 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.04435/1.011, allocations: 13.63 MB / 470.7 MB, free: 49.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.011, allocations: 13.22 kB / 470.7 MB, free: 49.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03826/1.049, allocations: 7.202 MB / 477.9 MB, free: 48.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/1.063, allocations: 6.489 MB / 484.4 MB, free: 47.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/1.064, allocations: 0.7307 MB / 485.1 MB, free: 47.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003893/1.067, allocations: 0.9553 MB / 486.1 MB, free: 47.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03832/1.106, allocations: 16.61 MB / 0.4909 GB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002592/1.106, allocations: 15.81 kB / 0.4909 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/1.108, allocations: 407.4 kB / 0.4913 GB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003815/1.108, allocations: 0.5907 MB / 0.4919 GB, free: 31.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02707/1.135, allocations: 15.8 MB / 0.5073 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09092/1.226, allocations: 53.87 MB / 0.5599 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02186/1.248, allocations: 22.75 MB / 0.5821 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00627/1.254, allocations: 3.829 MB / 0.5859 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01901/1.274, allocations: 11.8 MB / 0.5974 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/1.274, allocations: 72.95 kB / 0.5975 GB, free: 1.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=363): time 5.481e-06/1.274, allocations: 0 / 0.5975 GB, free: 1.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=368): time 0.03807/1.312, allocations: 17.48 MB / 0.6146 GB, free: 15.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.312, allocations: 93.64 kB / 0.6146 GB, free: 15.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006897/1.319, allocations: 4.761 MB / 0.6193 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008738/1.32, allocations: 85.7 kB / 0.6194 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002865/1.322, allocations: 4.474 MB / 0.6237 GB, free: 6.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/1.324, allocations: 1.277 MB / 0.625 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/1.326, allocations: 1.187 MB / 0.6261 GB, free: 3.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/1.326, allocations: 305.1 kB / 0.6264 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/1.33, allocations: 2.932 MB / 0.6293 GB, free: 348 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1865/1.517, allocations: 5.292 MB / 0.6345 GB, free: 191.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.527, allocations: 8.704 MB / 0.643 GB, free: 185.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/1.527, allocations: 23.59 kB / 0.643 GB, free: 185.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01582/1.543, allocations: 9.669 MB / 0.6524 GB, free: 182.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/1.543, allocations: 43 kB / 0.6525 GB, free: 182.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/1.543, allocations: 77.53 kB / 0.6525 GB, free: 182.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/1.547, allocations: 1.413 MB / 0.6539 GB, free: 182 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/1.551, allocations: 1.33 MB / 0.6552 GB, free: 181.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.566, allocations: 12.55 MB / 0.6675 GB, free: 173.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/1.571, allocations: 370.3 kB / 0.6678 GB, free: 173.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.572, allocations: 303.6 kB / 0.6681 GB, free: 173 MB / 494.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.006956/1.579, allocations: 3.916 MB / 0.672 GB, free: 169.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.58, allocations: 451.9 kB / 0.6724 GB, free: 169.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.591, allocations: 6.819 MB / 0.679 GB, free: 163.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007538/1.598, allocations: 5.641 MB / 0.6846 GB, free: 159 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/1.598, allocations: 12 kB / 0.6846 GB, free: 159 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/1.598, allocations: 19.92 kB / 0.6846 GB, free: 159 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/1.621, allocations: 15.51 MB / 0.6997 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.621, allocations: 7.938 kB / 0.6997 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00275/1.624, allocations: 0.6631 MB / 0.7004 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/1.627, allocations: 1.282 MB / 0.7016 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003618/1.628, allocations: 87.97 kB / 0.7017 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.64, allocations: 11.45 MB / 0.7129 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.64, allocations: 7.984 kB / 0.7129 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/1.653, allocations: 10.09 MB / 0.7228 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002468/1.655, allocations: 1.022 MB / 0.7238 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006983/1.656, allocations: 75.94 kB / 0.7238 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.658, allocations: 219.8 kB / 0.724 GB, free: 118.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006697/1.659, allocations: 271.1 kB / 0.7243 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/1.659, allocations: 117.4 kB / 0.7244 GB, free: 118.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003918/1.663, allocations: 3.229 MB / 0.7276 GB, free: 115.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.663, allocations: 0 / 0.7276 GB, free: 115.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006884/1.67, allocations: 1.693 MB / 0.7292 GB, free: 113.4 MB / 494.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.00131/1.671, allocations: 0.516 MB / 0.7297 GB, free: 112.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02426/1.695, allocations: 12.33 MB / 0.7418 GB, free: 100.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.695, allocations: 4 kB / 0.7418 GB, free: 100.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005457/1.701, allocations: 3.602 MB / 0.7453 GB, free: 96.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/1.706, allocations: 1.024 MB / 0.7463 GB, free: 95.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/1.737, allocations: 22.18 MB / 0.7679 GB, free: 73.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006639/1.744, allocations: 6.563 MB / 0.7744 GB, free: 67.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006271/1.75, allocations: 2.106 MB / 0.7764 GB, free: 64.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.751, allocations: 352.6 kB / 0.7767 GB, free: 64.62 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/1.752, allocations: 0 / 0.7767 GB, free: 64.62 MB / 494.1 MB Notification: Performance of Templates: time 0.3256/2.077, allocations: 71.67 MB / 0.8467 GB, free: 165.1 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)