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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002408/0.002408, allocations: 193.8 kB / 16.14 MB, free: 6.707 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.644/1.644, allocations: 205.1 MB / 222 MB, free: 4.738 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.001721/0.001721, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2649, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02669/0.2916, allocations: 26.6 MB / 351.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3081, allocations: 7.935 MB / 359.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006568/0.3147, allocations: 159.5 kB / 359.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02024/0.335, allocations: 8.851 MB / 368.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.3475, allocations: 3.104 MB / 371.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006028/0.3535, allocations: 1.723 MB / 373.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01738/0.3709, allocations: 12.43 MB / 385.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02961/0.4006, allocations: 20.27 MB / 405.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009816/0.4104, allocations: 5.659 MB / 411.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/0.4226, allocations: 6.949 MB / 418.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00621/0.4289, allocations: 1.219 MB / 419.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00942/0.4383, allocations: 1.582 MB / 421.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005336/0.4437, allocations: 3.026 MB / 424.2 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.4563, allocations: 6.336 MB / 430.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02537/0.4817, allocations: 24.22 MB / 454.8 MB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4818, allocations: 0 / 454.8 MB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4818, allocations: 3.938 kB / 454.8 MB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007137/0.4825, allocations: 0 / 454.8 MB, free: 1.539 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.3846/0.8671, allocations: 14.75 MB / 469.5 MB, free: 94.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8672, allocations: 11.88 kB / 469.5 MB, free: 94.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04923/0.9164, allocations: 9.42 MB / 479 MB, free: 87.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.9319, allocations: 6.872 MB / 485.8 MB, free: 80.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008474/0.9328, allocations: 0.8222 MB / 486.6 MB, free: 79.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005311/0.9382, allocations: 1.074 MB / 487.7 MB, free: 78.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05297/0.9912, allocations: 18.77 MB / 0.4946 GB, free: 59.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000595/0.9918, allocations: 11.91 kB / 0.4946 GB, free: 59.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004461/0.9963, allocations: 459 kB / 0.4951 GB, free: 59.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007288/0.997, allocations: 0.6989 MB / 0.4958 GB, free: 58.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0381/1.035, allocations: 18.22 MB / 0.5135 GB, free: 40.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/1.139, allocations: 59.98 MB / 0.5721 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2494/1.389, allocations: 46.73 MB / 0.6178 GB, free: 135.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008402/1.397, allocations: 4.317 MB / 0.622 GB, free: 135.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01978/1.417, allocations: 12.49 MB / 0.6342 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.773e-05/1.417, allocations: 69.39 kB / 0.6342 GB, free: 129.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 6.252e-06/1.417, allocations: 0 / 0.6342 GB, free: 129.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04302/1.46, allocations: 19.43 MB / 0.6532 GB, free: 122.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.46, allocations: 91.03 kB / 0.6533 GB, free: 122.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/1.467, allocations: 4.339 MB / 0.6575 GB, free: 118.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009996/1.468, allocations: 97.7 kB / 0.6576 GB, free: 118.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.47, allocations: 4.811 MB / 0.6623 GB, free: 114.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.472, allocations: 1.373 MB / 0.6637 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/1.473, allocations: 1.27 MB / 0.6649 GB, free: 111.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/1.473, allocations: 301.1 kB / 0.6652 GB, free: 111.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/1.477, allocations: 3.155 MB / 0.6683 GB, free: 108.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004845/1.482, allocations: 5.775 MB / 0.6739 GB, free: 101.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/1.492, allocations: 9.514 MB / 0.6832 GB, free: 90.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.355e-05/1.492, allocations: 28 kB / 0.6832 GB, free: 90.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01647/1.508, allocations: 10.33 MB / 0.6933 GB, free: 80.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.86e-05/1.508, allocations: 40 kB / 0.6934 GB, free: 80.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/1.508, allocations: 88 kB / 0.6934 GB, free: 79.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003856/1.512, allocations: 1.406 MB / 0.6948 GB, free: 78.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/1.518, allocations: 1.466 MB / 0.6962 GB, free: 77.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/1.531, allocations: 10.56 MB / 0.7066 GB, free: 66.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005897/1.537, allocations: 399.3 kB / 0.7069 GB, free: 66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/1.539, allocations: 332 kB / 0.7073 GB, free: 65.68 MB / 446.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.008048/1.547, allocations: 4.176 MB / 0.7113 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/1.549, allocations: 458.4 kB / 0.7118 GB, free: 61.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.564, allocations: 7.403 MB / 0.719 GB, free: 53.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009278/1.574, allocations: 6.082 MB / 0.7249 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/1.574, allocations: 8 kB / 0.7249 GB, free: 47.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/1.574, allocations: 23.92 kB / 0.725 GB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03054/1.604, allocations: 16.45 MB / 0.741 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.604, allocations: 4.094 kB / 0.741 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/1.607, allocations: 0.7294 MB / 0.7418 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.611, allocations: 1.246 MB / 0.743 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/1.611, allocations: 83.98 kB / 0.743 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/1.623, allocations: 9.304 MB / 0.7521 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.623, allocations: 3.938 kB / 0.7521 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.639, allocations: 10.63 MB / 0.7625 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/1.641, allocations: 1.046 MB / 0.7635 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/1.643, allocations: 68 kB / 0.7636 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.646, allocations: 255.8 kB / 0.7638 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/1.646, allocations: 275.5 kB / 0.7641 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/1.647, allocations: 116 kB / 0.7642 GB, free: 7.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004668/1.651, allocations: 2.904 MB / 0.7671 GB, free: 4.109 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.651, allocations: 0 / 0.7671 GB, free: 4.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007045/1.658, allocations: 1.841 MB / 0.7689 GB, free: 2.273 MB / 446.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.0007155/1.659, allocations: 263.5 kB / 0.7691 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1872/1.846, allocations: 7.979 MB / 0.7769 GB, free: 154.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.846, allocations: 1.188 kB / 0.7769 GB, free: 154.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006633/1.853, allocations: 3.688 MB / 0.7805 GB, free: 153.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/1.858, allocations: 1.025 MB / 0.7815 GB, free: 153.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/1.889, allocations: 23.58 MB / 0.8045 GB, free: 141.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005872/1.895, allocations: 7.027 MB / 0.8114 GB, free: 138.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006014/1.901, allocations: 2.247 MB / 0.8136 GB, free: 137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.902, allocations: 366.8 kB / 0.8139 GB, free: 136.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/1.902, allocations: 4 kB / 0.8139 GB, free: 136.7 MB / 462.1 MB Notification: Performance of Templates: time 0.09621/1.998, allocations: 72.91 MB / 0.8851 GB, free: 65.13 MB / 462.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)