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.000939/0.0009389, allocations: 89 kB / 16.31 MB, free: 5.645 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.001169/0.001169, allocations: 178.8 kB / 17.2 MB, free: 5.566 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.575/1.575, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0005155/0.0005157, allocations: 8 kB / 280.2 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2689, allocations: 47.58 MB / 327.8 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02533/0.2943, allocations: 23.56 MB / 351.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.3116, allocations: 7.357 MB / 358.7 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/0.3174, allocations: 163.4 kB / 358.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005983/0.3234, allocations: 1.484 MB / 360.3 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.334, allocations: 2.8 MB / 363.1 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.3391, allocations: 1.256 MB / 364.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02155/0.3606, allocations: 14.81 MB / 379.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04685/0.4076, allocations: 19.87 MB / 399.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.419, allocations: 4.829 MB / 403.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.4301, allocations: 5.386 MB / 409.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003553/0.4337, allocations: 0.7227 MB / 410 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006322/0.4401, allocations: 1.066 MB / 411.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004922/0.445, allocations: 2.278 MB / 413.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005766/0.4508, allocations: 2.336 MB / 415.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02388/0.4747, allocations: 20.94 MB / 436.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4748, allocations: 3.938 kB / 436.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4748, allocations: 0 / 436.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007392/0.4755, allocations: 0 / 436.6 MB, free: 6.281 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.03697/0.5125, allocations: 12.39 MB / 449 MB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.5126, allocations: 12.03 kB / 449 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05043/0.563, allocations: 9.459 MB / 458.5 MB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3995/0.9626, allocations: 6.811 MB / 465.3 MB, free: 88.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/0.9638, allocations: 0.8172 MB / 466.1 MB, free: 87.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005211/0.969, allocations: 1.08 MB / 467.2 MB, free: 87.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05732/1.026, allocations: 18.68 MB / 485.9 MB, free: 78.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004976/1.027, allocations: 20.27 kB / 485.9 MB, free: 78.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005119/1.032, allocations: 458.5 kB / 486.3 MB, free: 78.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006793/1.033, allocations: 0.6988 MB / 487 MB, free: 77.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03739/1.07, allocations: 18.13 MB / 0.4933 GB, free: 59.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/1.177, allocations: 60.14 MB / 0.5521 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04167/1.219, allocations: 46.67 MB / 0.5976 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008979/1.228, allocations: 4.321 MB / 0.6019 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02962/1.257, allocations: 12.47 MB / 0.614 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.51e-05/1.258, allocations: 73.61 kB / 0.6141 GB, free: 9.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 5.27e-06/1.258, allocations: 0 / 0.6141 GB, free: 9.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.3023/1.56, allocations: 21.52 MB / 0.6351 GB, free: 152.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/1.56, allocations: 93.06 kB / 0.6352 GB, free: 152.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/1.567, allocations: 4.304 MB / 0.6394 GB, free: 151.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008131/1.567, allocations: 92.86 kB / 0.6395 GB, free: 151.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002692/1.57, allocations: 4.813 MB / 0.6442 GB, free: 147.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.572, allocations: 1.363 MB / 0.6455 GB, free: 146.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/1.572, allocations: 130.8 kB / 0.6457 GB, free: 146.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003006/1.573, allocations: 0.5652 MB / 0.6462 GB, free: 145.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/1.577, allocations: 3.135 MB / 0.6493 GB, free: 144.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/1.582, allocations: 5.764 MB / 0.6549 GB, free: 140.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/1.589, allocations: 4.415 MB / 0.6592 GB, free: 138.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.589, allocations: 23.59 kB / 0.6592 GB, free: 138.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01843/1.607, allocations: 10.3 MB / 0.6693 GB, free: 134.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.607, allocations: 44.3 kB / 0.6693 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000191/1.608, allocations: 88.09 kB / 0.6694 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003554/1.611, allocations: 1.411 MB / 0.6708 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/1.616, allocations: 1.47 MB / 0.6722 GB, free: 131.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/1.631, allocations: 10.55 MB / 0.6825 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.637, allocations: 407.1 kB / 0.6829 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.639, allocations: 331.9 kB / 0.6832 GB, free: 121.7 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008117/1.647, allocations: 4.177 MB / 0.6873 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/1.648, allocations: 454.5 kB / 0.6877 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.663, allocations: 7.403 MB / 0.695 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009626/1.673, allocations: 6.079 MB / 0.7009 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-05/1.673, allocations: 12 kB / 0.7009 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/1.673, allocations: 19.92 kB / 0.7009 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.709, allocations: 16.45 MB / 0.717 GB, free: 86.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.709, allocations: 3.938 kB / 0.717 GB, free: 86.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/1.712, allocations: 0.7216 MB / 0.7177 GB, free: 86.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/1.715, allocations: 1.242 MB / 0.7189 GB, free: 85.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005863/1.715, allocations: 87.97 kB / 0.719 GB, free: 84.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/1.727, allocations: 9.305 MB / 0.7281 GB, free: 75.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.727, allocations: 4 kB / 0.7281 GB, free: 75.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.745, allocations: 10.61 MB / 0.7385 GB, free: 64.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.748, allocations: 1.069 MB / 0.7395 GB, free: 63.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/1.749, allocations: 68 kB / 0.7396 GB, free: 63.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.752, allocations: 263.7 kB / 0.7398 GB, free: 63.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008482/1.753, allocations: 267.5 kB / 0.7401 GB, free: 63.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004111/1.753, allocations: 116 kB / 0.7402 GB, free: 63.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005222/1.759, allocations: 2.873 MB / 0.743 GB, free: 60.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.759, allocations: 0 / 0.743 GB, free: 60.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008364/1.767, allocations: 1.842 MB / 0.7448 GB, free: 58.3 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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/1.768, allocations: 264.8 kB / 0.7451 GB, free: 58.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01336/1.781, allocations: 7.96 MB / 0.7528 GB, free: 50.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.781, allocations: 0.9375 kB / 0.7528 GB, free: 50.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00636/1.788, allocations: 3.69 MB / 0.7564 GB, free: 46.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/1.795, allocations: 1.055 MB / 0.7575 GB, free: 45.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/1.833, allocations: 22.61 MB / 0.7795 GB, free: 22.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/1.843, allocations: 7.032 MB / 0.7864 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.2057/2.049, allocations: 2.242 MB / 0.7886 GB, free: 149.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/2.051, allocations: 369.7 kB / 0.789 GB, free: 149.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/2.051, allocations: 0 / 0.789 GB, free: 149.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1068/2.158, allocations: 70.25 MB / 0.8576 GB, free: 98.86 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)