Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006896/0.006896, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001348/0.001348, allocations: 202 kB / 16.68 MB, free: 5.969 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001222/0.001222, allocations: 53.33 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 46.61 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0295/0.1415, allocations: 27.07 MB / 400.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.1604, allocations: 8.012 MB / 408.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007826/0.1683, allocations: 167.4 kB / 408.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02189/0.1902, allocations: 9.42 MB / 417.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.204, allocations: 3.42 MB / 421.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007306/0.2113, allocations: 1.843 MB / 423.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01993/0.2313, allocations: 12.28 MB / 435.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2907/0.5221, allocations: 24.41 MB / 459.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.5326, allocations: 6.543 MB / 466.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01465/0.5473, allocations: 7.27 MB / 473.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006001/0.5533, allocations: 1.848 MB / 475.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008381/0.5617, allocations: 2.216 MB / 477.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006397/0.5682, allocations: 3.666 MB / 481.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01732/0.5855, allocations: 7.003 MB / 488.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03037/0.6159, allocations: 24.83 MB / 0.5012 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.616, allocations: 0 / 0.5012 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.616, allocations: 0 / 0.5012 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008733/0.6168, allocations: 0 / 0.5012 GB, free: 9.98 MB / 398.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.05249/0.6694, allocations: 14.92 MB / 0.5157 GB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6694, allocations: 8.031 kB / 0.5158 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05449/0.7239, allocations: 9.524 MB / 0.5251 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/0.7398, allocations: 6.916 MB / 0.5318 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009408/0.7407, allocations: 0.8173 MB / 0.5326 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005186/0.7459, allocations: 1.071 MB / 0.5337 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05722/0.8032, allocations: 18.75 MB / 0.552 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006223/0.8038, allocations: 19.91 kB / 0.552 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00459/0.8085, allocations: 452.8 kB / 0.5524 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000816/0.8093, allocations: 0.6986 MB / 0.5531 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04142/0.8507, allocations: 18.22 MB / 0.5709 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/0.9682, allocations: 59.5 MB / 0.629 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5698/1.538, allocations: 46.72 MB / 0.6746 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008777/1.547, allocations: 4.275 MB / 0.6788 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02935/1.576, allocations: 12.38 MB / 0.6909 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/1.576, allocations: 77.39 kB / 0.691 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 7.835e-06/1.576, allocations: 0 / 0.691 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=391): time 0.05472/1.631, allocations: 19.44 MB / 0.7099 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.631, allocations: 92.69 kB / 0.71 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.643, allocations: 4.349 MB / 0.7143 GB, free: 115 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.644, allocations: 88.48 kB / 0.7144 GB, free: 114.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003845/1.648, allocations: 4.992 MB / 0.7192 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.651, allocations: 1.42 MB / 0.7206 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004617/1.655, allocations: 1.279 MB / 0.7219 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/1.655, allocations: 309.1 kB / 0.7222 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.66, allocations: 3.122 MB / 0.7252 GB, free: 108.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005868/1.666, allocations: 5.741 MB / 0.7308 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.677, allocations: 9.447 MB / 0.74 GB, free: 93.14 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.924e-05/1.677, allocations: 24 kB / 0.7401 GB, free: 93.11 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01845/1.695, allocations: 10.3 MB / 0.7501 GB, free: 82.79 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/1.695, allocations: 44 kB / 0.7502 GB, free: 82.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.696, allocations: 84 kB / 0.7502 GB, free: 82.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003684/1.699, allocations: 1.449 MB / 0.7517 GB, free: 81.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005728/1.705, allocations: 1.466 MB / 0.7531 GB, free: 79.74 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.719, allocations: 11.45 MB / 0.7643 GB, free: 68.15 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.726, allocations: 403.5 kB / 0.7647 GB, free: 67.76 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.727, allocations: 328 kB / 0.765 GB, free: 67.44 MB / 0.5138 GB 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009671/1.737, allocations: 4.18 MB / 0.7691 GB, free: 63.24 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.738, allocations: 473 kB / 0.7695 GB, free: 62.78 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.75, allocations: 7.344 MB / 0.7767 GB, free: 55.39 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008497/1.759, allocations: 6.031 MB / 0.7826 GB, free: 49.34 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.759, allocations: 15.19 kB / 0.7826 GB, free: 49.32 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-05/1.759, allocations: 23.86 kB / 0.7826 GB, free: 49.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/1.789, allocations: 16.34 MB / 0.7986 GB, free: 32.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.789, allocations: 4.094 kB / 0.7986 GB, free: 32.94 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/1.792, allocations: 0.7216 MB / 0.7993 GB, free: 32.22 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003563/1.796, allocations: 1.297 MB / 0.8005 GB, free: 30.91 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006554/1.797, allocations: 91.91 kB / 0.8006 GB, free: 30.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.81, allocations: 10.18 MB / 0.8106 GB, free: 20.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.81, allocations: 4 kB / 0.8106 GB, free: 20.51 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/1.833, allocations: 10.56 MB / 0.8209 GB, free: 9.891 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/1.837, allocations: 1.072 MB / 0.8219 GB, free: 8.797 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.838, allocations: 72.05 kB / 0.822 GB, free: 8.727 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/1.842, allocations: 248.8 kB / 0.8222 GB, free: 8.484 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/1.843, allocations: 271.5 kB / 0.8225 GB, free: 8.219 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004851/1.843, allocations: 116 kB / 0.8226 GB, free: 8.105 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006505/1.85, allocations: 2.908 MB / 0.8255 GB, free: 5.188 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.91e-07/1.85, allocations: 0 / 0.8255 GB, free: 5.188 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009083/1.859, allocations: 1.848 MB / 0.8273 GB, free: 3.34 MB / 0.5138 GB 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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009787/1.86, allocations: 257.4 kB / 0.8275 GB, free: 3.082 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2745/2.135, allocations: 7.904 MB / 0.8352 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/2.135, allocations: 6.156 kB / 0.8352 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009554/2.144, allocations: 3.649 MB / 0.8388 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007165/2.151, allocations: 1.097 MB / 0.8399 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/2.189, allocations: 19 MB / 0.8584 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009483/2.199, allocations: 7.032 MB / 0.8653 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007488/2.206, allocations: 2.246 MB / 0.8675 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/2.208, allocations: 361 kB / 0.8678 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.092e-06/2.208, allocations: 0 / 0.8678 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.113/2.321, allocations: 71.91 MB / 0.938 GB, free: 90.71 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)