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.001368/0.001368, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.33/1.33, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001645/0.001645, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.337e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07297/0.07301, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3138/0.3869, allocations: 104.1 MB / 453.6 MB, free: 7.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.3873, allocations: 88.31 kB / 453.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2136/0.6009, allocations: 51.44 MB / 0.4933 GB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.601, allocations: 0 / 0.4933 GB, free: 10.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001899/0.6012, allocations: 59.88 kB / 0.4933 GB, free: 10.74 MB / 362.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.005451/0.6066, allocations: 2.441 MB / 0.4957 GB, free: 8.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6067, allocations: 8.031 kB / 0.4957 GB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.6081, allocations: 332.3 kB / 0.496 GB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.6123, allocations: 1.756 MB / 0.4978 GB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.6124, allocations: 160 kB / 0.4979 GB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005096/0.613, allocations: 207.9 kB / 0.4981 GB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.6177, allocations: 2.592 MB / 0.5006 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.6178, allocations: 8 kB / 0.5006 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.618, allocations: 88 kB / 0.5007 GB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/0.6181, allocations: 87.92 kB / 0.5008 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.6215, allocations: 2.058 MB / 0.5028 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.635, allocations: 8.333 MB / 0.511 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.6377, allocations: 1.595 MB / 0.5125 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.6392, allocations: 0.9727 MB / 0.5135 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.6395, allocations: 146 kB / 0.5136 GB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.6396, allocations: 47.55 kB / 0.5136 GB, free: 5.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.777e-06/0.6396, allocations: 0 / 0.5136 GB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.009329/0.6489, allocations: 5.022 MB / 0.5186 GB, free: 284 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.649, allocations: 72.66 kB / 0.5186 GB, free: 200 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.6518, allocations: 1.862 MB / 0.5204 GB, free: 14.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.6519, allocations: 53.7 kB / 0.5205 GB, free: 14.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.6527, allocations: 1.088 MB / 0.5216 GB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.6531, allocations: 473.1 kB / 0.522 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.6532, allocations: 32 kB / 0.522 GB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6534, allocations: 353.9 kB / 0.5224 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.6545, allocations: 0.7146 MB / 0.5231 GB, free: 11.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.6558, allocations: 0.9668 MB / 0.524 GB, free: 10.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.6571, allocations: 0.8733 MB / 0.5249 GB, free: 9.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6571, allocations: 0 / 0.5249 GB, free: 9.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004915/0.662, allocations: 2.751 MB / 0.5276 GB, free: 6.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.6621, allocations: 33.7 kB / 0.5276 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.6621, allocations: 11.98 kB / 0.5276 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.6643, allocations: 0.8347 MB / 0.5284 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6654, allocations: 275.6 kB / 0.5287 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2009/0.8664, allocations: 9.273 MB / 0.5377 GB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.8679, allocations: 105.6 kB / 0.5378 GB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.868, allocations: 51.08 kB / 0.5379 GB, free: 92.72 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 () * 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.0002421/0.8683, allocations: 177 kB / 0.5381 GB, free: 92.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.8686, allocations: 201.6 kB / 0.5382 GB, free: 92.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.8729, allocations: 2.474 MB / 0.5407 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.8729, allocations: 12.91 kB / 0.5407 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.8729, allocations: 6.812 kB / 0.5407 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.8729, allocations: 7.078 kB / 0.5407 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008095/0.881, allocations: 5.002 MB / 0.5456 GB, free: 92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.8811, allocations: 7.469 kB / 0.5456 GB, free: 92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.8821, allocations: 217.6 kB / 0.5458 GB, free: 92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.884, allocations: 0.6996 MB / 0.5465 GB, free: 91.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.8842, allocations: 38.88 kB / 0.5465 GB, free: 91.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008957/0.8931, allocations: 8.456 MB / 0.5548 GB, free: 87.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8932, allocations: 0 / 0.5548 GB, free: 87.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/0.8981, allocations: 3.613 MB / 0.5583 GB, free: 87.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009272/0.899, allocations: 471.9 kB / 0.5587 GB, free: 87.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.8993, allocations: 31.91 kB / 0.5588 GB, free: 87.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/0.9002, allocations: 94.83 kB / 0.5589 GB, free: 87.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.9005, allocations: 108.6 kB / 0.559 GB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/0.9006, allocations: 42.66 kB / 0.559 GB, free: 87.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001814/0.9024, allocations: 1.447 MB / 0.5604 GB, free: 87.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9025, allocations: 2.469 kB / 0.5604 GB, free: 87.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001777/0.9042, allocations: 0.5966 MB / 0.561 GB, free: 87.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * 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.0008771/0.9051, allocations: 475.1 kB / 0.5615 GB, free: 86.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003445/0.9086, allocations: 2.442 MB / 0.5638 GB, free: 86.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9086, allocations: 3.656 kB / 0.5638 GB, free: 86.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.9107, allocations: 1.682 MB / 0.5655 GB, free: 85.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.9126, allocations: 403 kB / 0.5659 GB, free: 85.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/0.9187, allocations: 4.271 MB / 0.57 GB, free: 83.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.92, allocations: 2.006 MB / 0.572 GB, free: 82.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001411/0.9215, allocations: 398.4 kB / 0.5724 GB, free: 82.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.9219, allocations: 130.2 kB / 0.5725 GB, free: 82.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/0.9219, allocations: 0 / 0.5725 GB, free: 82.77 MB / 394.7 MB Notification: Performance of Templates: time 0.04628/0.9682, allocations: 31.48 MB / 0.6032 GB, free: 73.32 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)