Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001431/0.001431, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.161/1.161, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001526/0.001526, allocations: 118 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 15.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07233/0.07263, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.3064, allocations: 99.65 MB / 454.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3066, allocations: 91.52 kB / 454.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1034/0.41, allocations: 41.37 MB / 496.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.41, allocations: 3.938 kB / 496.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001243/0.4102, allocations: 52 kB / 496.2 MB, free: 14.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004713/0.4149, allocations: 2.208 MB / 498.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4149, allocations: 8.031 kB / 498.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008299/0.4158, allocations: 265.2 kB / 498.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.4185, allocations: 1.38 MB / 0.4884 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4186, allocations: 147.7 kB / 0.4885 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.4189, allocations: 195.9 kB / 0.4887 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/0.4227, allocations: 2.416 MB / 0.4911 GB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.4228, allocations: 3.906 kB / 0.4911 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.423, allocations: 80 kB / 0.4911 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.951e-05/0.4231, allocations: 83.69 kB / 0.4912 GB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.4261, allocations: 1.904 MB / 0.4931 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.4374, allocations: 7.839 MB / 0.5007 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.4393, allocations: 1.407 MB / 0.5021 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.4396, allocations: 130.1 kB / 0.5022 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4396, allocations: 47.56 kB / 0.5023 GB, free: 12.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 3.357e-06/0.4396, allocations: 4.406 kB / 0.5023 GB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.01233/0.452, allocations: 6.302 MB / 0.5084 GB, free: 5.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.452, allocations: 68.67 kB / 0.5085 GB, free: 5.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.4535, allocations: 1.099 MB / 0.5096 GB, free: 4.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.832e-05/0.4536, allocations: 49.7 kB / 0.5096 GB, free: 4.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.4542, allocations: 0.8737 MB / 0.5105 GB, free: 3.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.4545, allocations: 441.6 kB / 0.5109 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.4546, allocations: 32 kB / 0.5109 GB, free: 3.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4548, allocations: 361.9 kB / 0.5113 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009867/0.4558, allocations: 0.6754 MB / 0.5119 GB, free: 2.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4569, allocations: 0.9907 MB / 0.5129 GB, free: 1.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.4581, allocations: 0.8262 MB / 0.5137 GB, free: 280 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4581, allocations: 4 kB / 0.5137 GB, free: 276 kB / 394.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.1556/0.6138, allocations: 2.384 MB / 0.516 GB, free: 98.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6138, allocations: 11.72 kB / 0.516 GB, free: 98.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6138, allocations: 10.17 kB / 0.516 GB, free: 98.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.6151, allocations: 0.5603 MB / 0.5166 GB, free: 98.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6161, allocations: 305 kB / 0.5169 GB, free: 98.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/0.6234, allocations: 8.602 MB / 0.5253 GB, free: 93.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.6247, allocations: 87.44 kB / 0.5254 GB, free: 93.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.6249, allocations: 54.17 kB / 0.5254 GB, free: 93.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001105/0.626, allocations: 0.6108 MB / 0.526 GB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.6263, allocations: 146.3 kB / 0.5262 GB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.6298, allocations: 2.197 MB / 0.5283 GB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.6299, allocations: 11.31 kB / 0.5283 GB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.6299, allocations: 13.7 kB / 0.5283 GB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.6299, allocations: 7.547 kB / 0.5283 GB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/0.6374, allocations: 4.38 MB / 0.5326 GB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.6374, allocations: 12.31 kB / 0.5326 GB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.6383, allocations: 192.5 kB / 0.5328 GB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.64, allocations: 0.6219 MB / 0.5334 GB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-05/0.6401, allocations: 35.17 kB / 0.5334 GB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008501/0.6486, allocations: 10.16 MB / 0.5434 GB, free: 86.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6486, allocations: 8.234 kB / 0.5434 GB, free: 86.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.6535, allocations: 3.284 MB / 0.5466 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/0.6545, allocations: 373.8 kB / 0.5469 GB, free: 84.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.6549, allocations: 28.39 kB / 0.547 GB, free: 84.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/0.6558, allocations: 76.5 kB / 0.547 GB, free: 84.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.6561, allocations: 112.8 kB / 0.5471 GB, free: 84.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.6562, allocations: 39.62 kB / 0.5472 GB, free: 84.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001144/0.6573, allocations: 0.8444 MB / 0.548 GB, free: 83.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6574, allocations: 0 / 0.548 GB, free: 83.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00163/0.659, allocations: 0.4901 MB / 0.5485 GB, free: 83.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.6594, allocations: 307.5 kB / 0.5488 GB, free: 83.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.6623, allocations: 2.512 MB / 0.5512 GB, free: 82.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6623, allocations: 0 / 0.5512 GB, free: 82.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.6642, allocations: 1.75 MB / 0.5529 GB, free: 81.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.6656, allocations: 385.5 kB / 0.5533 GB, free: 81.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.6712, allocations: 5.03 MB / 0.5582 GB, free: 78.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6722, allocations: 1.7 MB / 0.5599 GB, free: 77.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001055/0.6733, allocations: 324 kB / 0.5602 GB, free: 77.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.6736, allocations: 100.4 kB / 0.5603 GB, free: 77.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6736, allocations: 0 / 0.5603 GB, free: 77.54 MB / 394.7 MB Notification: Performance of Templates: time 0.03385/0.7074, allocations: 25.64 MB / 0.5853 GB, free: 72.68 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)