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.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.2_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.2_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.001233/0.001233, allocations: 104.5 kB / 16.92 MB, free: 6.199 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.001227/0.001227, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.583/1.583, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001878/0.001878, allocations: 55.92 kB / 280 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1193, allocations: 46.63 MB / 326.6 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02954/0.1489, allocations: 27.08 MB / 353.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.1684, allocations: 7.997 MB / 361.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007219/0.1756, allocations: 167.5 kB / 361.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02202/0.1977, allocations: 9.358 MB / 371.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.2107, allocations: 3.373 MB / 374.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006791/0.2175, allocations: 1.828 MB / 376.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2286/0.4461, allocations: 12.18 MB / 388.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03229/0.4784, allocations: 24.52 MB / 413.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01931/0.4978, allocations: 7.427 MB / 420.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.5102, allocations: 7.305 MB / 427.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004902/0.5151, allocations: 1.854 MB / 429.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.5215, allocations: 2.223 MB / 432 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003455/0.525, allocations: 3.675 MB / 435.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.5352, allocations: 7.013 MB / 442.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02268/0.5579, allocations: 24.64 MB / 467.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5579, allocations: 0 / 467.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5579, allocations: 0 / 467.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006119/0.5586, allocations: 0 / 467.3 MB, free: 2.223 MB / 366.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.04248/0.601, allocations: 14.73 MB / 482 MB, free: 3.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6011, allocations: 8.031 kB / 482 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05099/0.6521, allocations: 9.421 MB / 491.4 MB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/0.6691, allocations: 6.88 MB / 498.3 MB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.6702, allocations: 0.8155 MB / 499.1 MB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006117/0.6764, allocations: 1.083 MB / 0.4885 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0555/0.7319, allocations: 18.76 MB / 0.5068 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004539/0.7324, allocations: 11.91 kB / 0.5068 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003325/0.7357, allocations: 464 kB / 0.5073 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008065/0.7366, allocations: 0.6911 MB / 0.5079 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04431/0.7809, allocations: 18.21 MB / 0.5257 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5386/1.319, allocations: 60.01 MB / 0.5843 GB, free: 111 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03113/1.351, allocations: 46.72 MB / 0.63 GB, free: 65.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006342/1.357, allocations: 4.283 MB / 0.6342 GB, free: 63.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/1.375, allocations: 12.39 MB / 0.6462 GB, free: 50.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/1.375, allocations: 85.5 kB / 0.6463 GB, free: 50.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=385): time 5.8e-06/1.375, allocations: 4 kB / 0.6463 GB, free: 50.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=391): time 0.03917/1.415, allocations: 19.29 MB / 0.6652 GB, free: 31.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.415, allocations: 98.41 kB / 0.6653 GB, free: 31.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/1.42, allocations: 4.342 MB / 0.6695 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007063/1.421, allocations: 89.7 kB / 0.6696 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/1.423, allocations: 4.819 MB / 0.6743 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.425, allocations: 1.346 MB / 0.6756 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/1.427, allocations: 1.27 MB / 0.6769 GB, free: 19.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.427, allocations: 305.1 kB / 0.6771 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/1.431, allocations: 3.124 MB / 0.6802 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/1.436, allocations: 5.744 MB / 0.6858 GB, free: 8.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.446, allocations: 9.448 MB / 0.695 GB, free: 14.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.979e-05/1.446, allocations: 24 kB / 0.6951 GB, free: 14.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0178/1.464, allocations: 10.27 MB / 0.7051 GB, free: 3.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/1.464, allocations: 51.92 kB / 0.7051 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.464, allocations: 88 kB / 0.7052 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003931/1.468, allocations: 1.448 MB / 0.7066 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/1.474, allocations: 1.462 MB / 0.7081 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2579/1.732, allocations: 11.46 MB / 0.7193 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006172/1.738, allocations: 401.5 kB / 0.7196 GB, free: 144.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.739, allocations: 331.6 kB / 0.7199 GB, free: 144.6 MB / 462.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 (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.009136/1.749, allocations: 4.18 MB / 0.724 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.75, allocations: 443 kB / 0.7245 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.764, allocations: 7.36 MB / 0.7316 GB, free: 139.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00947/1.773, allocations: 6.041 MB / 0.7375 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/1.773, allocations: 11.88 kB / 0.7376 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/1.773, allocations: 22.33 kB / 0.7376 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.804, allocations: 16.39 MB / 0.7536 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.804, allocations: 3.875 kB / 0.7536 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.807, allocations: 0.7223 MB / 0.7543 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/1.81, allocations: 1.304 MB / 0.7556 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/1.81, allocations: 87.34 kB / 0.7556 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.822, allocations: 10.19 MB / 0.7656 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.822, allocations: 0 / 0.7656 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.836, allocations: 10.53 MB / 0.7759 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/1.839, allocations: 1.042 MB / 0.7769 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007175/1.84, allocations: 72 kB / 0.777 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.842, allocations: 243.7 kB / 0.7772 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006174/1.842, allocations: 283.4 kB / 0.7775 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.843, allocations: 112 kB / 0.7776 GB, free: 107.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003577/1.846, allocations: 2.901 MB / 0.7804 GB, free: 104.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.846, allocations: 4 kB / 0.7804 GB, free: 104.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006595/1.853, allocations: 1.845 MB / 0.7822 GB, free: 102.9 MB / 462.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 (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.0008451/1.854, allocations: 271.4 kB / 0.7825 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02837/1.882, allocations: 14.21 MB / 0.7964 GB, free: 88.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.882, allocations: 0 / 0.7964 GB, free: 88.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006448/1.889, allocations: 3.64 MB / 0.7999 GB, free: 84.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/1.895, allocations: 1.087 MB / 0.801 GB, free: 83.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/1.929, allocations: 18.95 MB / 0.8195 GB, free: 64.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007943/1.937, allocations: 7.031 MB / 0.8263 GB, free: 57.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006637/1.944, allocations: 2.251 MB / 0.8285 GB, free: 55.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.945, allocations: 363.4 kB / 0.8289 GB, free: 55.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/1.945, allocations: 3.938 kB / 0.8289 GB, free: 55.04 MB / 462.1 MB Notification: Performance of Templates: time 0.3508/2.296, allocations: 75.29 MB / 0.9024 GB, free: 121.1 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)