Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009854/0.0009853, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.152/1.152, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.00153/0.00153, allocations: 106 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07807, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.3198, allocations: 104.2 MB / 459.3 MB, free: 1.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.32, allocations: 87.27 kB / 459.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.4559, allocations: 51.38 MB / 0.4988 GB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.456, allocations: 0 / 0.4988 GB, free: 308 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002345/0.4562, allocations: 55.94 kB / 0.4988 GB, free: 252 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006924/0.4632, allocations: 2.778 MB / 0.5015 GB, free: 13.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4632, allocations: 8.031 kB / 0.5015 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.4645, allocations: 340.2 kB / 0.5019 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.4688, allocations: 1.771 MB / 0.5036 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.469, allocations: 152 kB / 0.5037 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.4694, allocations: 207.9 kB / 0.5039 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00459/0.474, allocations: 2.674 MB / 0.5066 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.706e-05/0.4741, allocations: 4 kB / 0.5066 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.4743, allocations: 83.98 kB / 0.5066 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.332e-05/0.4744, allocations: 95.92 kB / 0.5067 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.4781, allocations: 2.186 MB / 0.5089 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1559/0.634, allocations: 8.317 MB / 0.517 GB, free: 91.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/0.6369, allocations: 1.681 MB / 0.5186 GB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.6372, allocations: 143 kB / 0.5188 GB, free: 90.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6372, allocations: 45.72 kB / 0.5188 GB, free: 90.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=119): time 3.456e-06/0.6372, allocations: 0.6562 kB / 0.5188 GB, free: 90.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=135): time 0.01223/0.6495, allocations: 6.697 MB / 0.5254 GB, free: 89.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.6495, allocations: 65.16 kB / 0.5254 GB, free: 89.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.6521, allocations: 1.874 MB / 0.5272 GB, free: 89.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/0.6522, allocations: 54.92 kB / 0.5273 GB, free: 89.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.6529, allocations: 1.091 MB / 0.5284 GB, free: 89.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.6532, allocations: 468 kB / 0.5288 GB, free: 88.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.6533, allocations: 30.64 kB / 0.5288 GB, free: 88.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.6534, allocations: 360.3 kB / 0.5292 GB, free: 88.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.6547, allocations: 0.7743 MB / 0.5299 GB, free: 88.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.656, allocations: 1.022 MB / 0.5309 GB, free: 88.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.6574, allocations: 0.9371 MB / 0.5318 GB, free: 88.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6574, allocations: 6.297 kB / 0.5319 GB, free: 88.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004761/0.6621, allocations: 2.864 MB / 0.5347 GB, free: 88.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.6622, allocations: 38 kB / 0.5347 GB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.6622, allocations: 7.656 kB / 0.5347 GB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.6642, allocations: 0.8418 MB / 0.5355 GB, free: 88.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6652, allocations: 274.8 kB / 0.5358 GB, free: 88.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00969/0.6749, allocations: 9.653 MB / 0.5452 GB, free: 84.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6762, allocations: 98.86 kB / 0.5453 GB, free: 84.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.6763, allocations: 57.3 kB / 0.5454 GB, free: 84.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.6776, allocations: 0.7368 MB / 0.5461 GB, free: 84.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.678, allocations: 203.1 kB / 0.5463 GB, free: 83.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.682, allocations: 2.592 MB / 0.5488 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.682, allocations: 11.47 kB / 0.5488 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.682, allocations: 11.05 kB / 0.5488 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.682, allocations: 7.828 kB / 0.5488 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008024/0.69, allocations: 5.098 MB / 0.5538 GB, free: 81.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.6901, allocations: 2.406 kB / 0.5538 GB, free: 81.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/0.691, allocations: 223.4 kB / 0.554 GB, free: 81.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.6927, allocations: 0.7081 MB / 0.5547 GB, free: 80.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/0.6928, allocations: 34.88 kB / 0.5547 GB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007222/0.7, allocations: 8.701 MB / 0.5632 GB, free: 74.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7, allocations: 3.969 kB / 0.5632 GB, free: 74.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.7051, allocations: 3.732 MB / 0.5669 GB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.7061, allocations: 477.6 kB / 0.5673 GB, free: 72.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003261/0.7064, allocations: 35.62 kB / 0.5674 GB, free: 72.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7075, allocations: 96.44 kB / 0.5675 GB, free: 72.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.7077, allocations: 104.4 kB / 0.5676 GB, free: 72.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/0.7078, allocations: 42.48 kB / 0.5676 GB, free: 72.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00182/0.7096, allocations: 1.465 MB / 0.569 GB, free: 72.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7096, allocations: 0 / 0.569 GB, free: 72.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001809/0.7114, allocations: 0.5906 MB / 0.5696 GB, free: 72.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009258/0.7124, allocations: 0.4991 MB / 0.5701 GB, free: 72.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.716, allocations: 2.578 MB / 0.5726 GB, free: 70.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.716, allocations: 0 / 0.5726 GB, free: 70.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.7183, allocations: 1.74 MB / 0.5743 GB, free: 70.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.72, allocations: 406.4 kB / 0.5747 GB, free: 69.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007403/0.7275, allocations: 6.08 MB / 0.5807 GB, free: 66.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.729, allocations: 2.004 MB / 0.5826 GB, free: 65.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001286/0.7303, allocations: 395.5 kB / 0.583 GB, free: 65.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.7307, allocations: 137.5 kB / 0.5831 GB, free: 65.76 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7307, allocations: 0 / 0.5831 GB, free: 65.76 MB / 394.7 MB Notification: Performance of Templates: time 0.04181/0.7725, allocations: 31.01 MB / 0.6134 GB, free: 44.29 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)