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.IMS_Characteristics.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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001175/0.001175, allocations: 193.2 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.56/1.56, allocations: 205.1 MB / 222.1 MB, free: 4.758 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.001355/0.001355, allocations: 55.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2663, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02629/0.2927, allocations: 26.6 MB / 351.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.3106, allocations: 7.892 MB / 359.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007223/0.3179, allocations: 159.4 kB / 359.5 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02192/0.3399, allocations: 8.874 MB / 368.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.3526, allocations: 3.069 MB / 371.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007393/0.36, allocations: 1.704 MB / 373.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01946/0.3795, allocations: 12.25 MB / 385.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0451/0.4246, allocations: 28.12 MB / 413.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.4357, allocations: 6.58 MB / 420.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.4494, allocations: 7.375 MB / 427.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005624/0.455, allocations: 1.855 MB / 429.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008161/0.4632, allocations: 2.218 MB / 431.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006688/0.4699, allocations: 3.679 MB / 435.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01397/0.4839, allocations: 7.004 MB / 442.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2257/0.7097, allocations: 24.64 MB / 466.9 MB, free: 55.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7098, allocations: 0 / 466.9 MB, free: 55.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7098, allocations: 3.031 kB / 466.9 MB, free: 55.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008172/0.7106, allocations: 0.9688 kB / 466.9 MB, free: 55.67 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05008/0.7607, allocations: 14.75 MB / 481.7 MB, free: 49.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.7608, allocations: 10.25 kB / 481.7 MB, free: 49.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05008/0.8109, allocations: 9.418 MB / 491.1 MB, free: 45.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/0.8294, allocations: 6.884 MB / 498 MB, free: 42.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.8305, allocations: 0.8194 MB / 498.8 MB, free: 41.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006667/0.8372, allocations: 1.081 MB / 499.9 MB, free: 40.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05339/0.8906, allocations: 18.76 MB / 0.5065 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006089/0.8912, allocations: 7.906 kB / 0.5065 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005576/0.8968, allocations: 457.8 kB / 0.5069 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007287/0.8976, allocations: 0.695 MB / 0.5076 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03986/0.9375, allocations: 18.22 MB / 0.5254 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.051, allocations: 59.98 MB / 0.584 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2553/1.307, allocations: 46.74 MB / 0.6296 GB, free: 161.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006919/1.314, allocations: 4.316 MB / 0.6338 GB, free: 161.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/1.332, allocations: 12.48 MB / 0.646 GB, free: 157 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.332, allocations: 70.3 kB / 0.6461 GB, free: 157 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 5.4e-06/1.332, allocations: 3.188 kB / 0.6461 GB, free: 157 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04168/1.373, allocations: 19.43 MB / 0.6651 GB, free: 149.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/1.373, allocations: 94.5 kB / 0.6651 GB, free: 149.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006139/1.38, allocations: 4.336 MB / 0.6694 GB, free: 145.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008174/1.38, allocations: 89.7 kB / 0.6695 GB, free: 145.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.383, allocations: 4.813 MB / 0.6742 GB, free: 141.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.384, allocations: 1.368 MB / 0.6755 GB, free: 140.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001659/1.386, allocations: 1.282 MB / 0.6768 GB, free: 139 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/1.386, allocations: 301.1 kB / 0.677 GB, free: 138.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.389, allocations: 3.151 MB / 0.6801 GB, free: 136 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004649/1.394, allocations: 5.775 MB / 0.6858 GB, free: 129.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00923/1.403, allocations: 9.517 MB / 0.6951 GB, free: 119 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.268e-05/1.403, allocations: 24 kB / 0.6951 GB, free: 118.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01508/1.419, allocations: 10.33 MB / 0.7052 GB, free: 108.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/1.419, allocations: 44 kB / 0.7052 GB, free: 108.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/1.419, allocations: 87.94 kB / 0.7053 GB, free: 108.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/1.422, allocations: 1.418 MB / 0.7067 GB, free: 107 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005587/1.428, allocations: 1.463 MB / 0.7081 GB, free: 105.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/1.444, allocations: 11.33 MB / 0.7192 GB, free: 94.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006941/1.451, allocations: 402.5 kB / 0.7195 GB, free: 93.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.452, allocations: 328 kB / 0.7199 GB, free: 93.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008487/1.461, allocations: 4.188 MB / 0.724 GB, free: 89.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/1.462, allocations: 446.5 kB / 0.7244 GB, free: 88.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.475, allocations: 7.403 MB / 0.7316 GB, free: 81.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007965/1.483, allocations: 6.078 MB / 0.7375 GB, free: 75.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.483, allocations: 15.94 kB / 0.7376 GB, free: 75.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.157e-05/1.483, allocations: 23.91 kB / 0.7376 GB, free: 75.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.506, allocations: 16.46 MB / 0.7536 GB, free: 58.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.506, allocations: 0 / 0.7536 GB, free: 58.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/1.509, allocations: 0.7255 MB / 0.7544 GB, free: 57.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/1.512, allocations: 1.267 MB / 0.7556 GB, free: 56.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003455/1.512, allocations: 79.98 kB / 0.7557 GB, free: 56.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.524, allocations: 10.05 MB / 0.7655 GB, free: 46.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.524, allocations: 4 kB / 0.7655 GB, free: 46.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.539, allocations: 10.62 MB / 0.7759 GB, free: 35.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002642/1.541, allocations: 1.054 MB / 0.7769 GB, free: 34.69 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009197/1.542, allocations: 68 kB / 0.777 GB, free: 34.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.545, allocations: 255.8 kB / 0.7772 GB, free: 34.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000665/1.545, allocations: 271.5 kB / 0.7775 GB, free: 34.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.546, allocations: 116 kB / 0.7776 GB, free: 34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003704/1.549, allocations: 2.904 MB / 0.7804 GB, free: 31.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.549, allocations: 0 / 0.7804 GB, free: 31.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006313/1.556, allocations: 1.849 MB / 0.7822 GB, free: 29.24 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007362/1.556, allocations: 261.1 kB / 0.7825 GB, free: 28.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2362/1.793, allocations: 14.48 MB / 0.7966 GB, free: 171.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.793, allocations: 0 / 0.7966 GB, free: 171.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006306/1.799, allocations: 3.697 MB / 0.8002 GB, free: 171.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/1.805, allocations: 1.074 MB / 0.8013 GB, free: 170.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/1.837, allocations: 23.58 MB / 0.8243 GB, free: 159.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006478/1.843, allocations: 7.031 MB / 0.8312 GB, free: 155.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00564/1.849, allocations: 2.245 MB / 0.8333 GB, free: 154.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.85, allocations: 369.8 kB / 0.8337 GB, free: 154.1 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/1.85, allocations: 0 / 0.8337 GB, free: 154.1 MB / 478.1 MB Notification: Performance of Templates: time 0.1029/1.953, allocations: 75.46 MB / 0.9074 GB, free: 81.3 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)