Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001474/0.001475, allocations: 182 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.459/1.459, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001822/0.001822, allocations: 124.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.253e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06659/0.06663, allocations: 44.5 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.3876, allocations: 99.34 MB / 448.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.3879, allocations: 84.39 kB / 448.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1169/0.5048, allocations: 44.55 MB / 493.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5049, allocations: 0 / 493.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001838/0.5051, allocations: 55.94 kB / 493.5 MB, free: 6.406 MB / 346.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.005314/0.5104, allocations: 2.189 MB / 495.7 MB, free: 4.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5104, allocations: 11.97 kB / 495.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.5116, allocations: 296.8 kB / 496 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.515, allocations: 1.535 MB / 497.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5152, allocations: 160 kB / 497.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.5155, allocations: 203.9 kB / 497.9 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004817/0.5204, allocations: 2.644 MB / 0.4888 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.612e-05/0.5205, allocations: 7.938 kB / 0.4888 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.5207, allocations: 87.98 kB / 0.4889 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.5208, allocations: 95.92 kB / 0.489 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003882/0.5247, allocations: 2.132 MB / 0.491 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.5386, allocations: 8.434 MB / 0.4993 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5408, allocations: 1.779 MB / 0.501 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.5423, allocations: 0.9644 MB / 0.502 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.5428, allocations: 142 kB / 0.5021 GB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.5428, allocations: 43.56 kB / 0.5021 GB, free: 1.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.599e-06/0.5429, allocations: 0 / 0.5021 GB, free: 1.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01596/0.5588, allocations: 5.234 MB / 0.5072 GB, free: 11.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5589, allocations: 64.41 kB / 0.5073 GB, free: 11.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.5609, allocations: 1.297 MB / 0.5086 GB, free: 10.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.561, allocations: 49.7 kB / 0.5086 GB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007493/0.5618, allocations: 0.9835 MB / 0.5096 GB, free: 9.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.5622, allocations: 417.9 kB / 0.51 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.5622, allocations: 36 kB / 0.51 GB, free: 8.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5624, allocations: 353.9 kB / 0.5103 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.5634, allocations: 0.6989 MB / 0.511 GB, free: 7.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.5647, allocations: 0.9994 MB / 0.512 GB, free: 6.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.5659, allocations: 0.8442 MB / 0.5128 GB, free: 5.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5659, allocations: 0 / 0.5128 GB, free: 5.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003626/0.5696, allocations: 2.275 MB / 0.5151 GB, free: 3.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5696, allocations: 8.375 kB / 0.5151 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.5696, allocations: 15.94 kB / 0.5151 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.5707, allocations: 403.1 kB / 0.5155 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.572, allocations: 343.5 kB / 0.5158 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/0.5786, allocations: 4.63 MB / 0.5203 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.5807, allocations: 99.83 kB / 0.5204 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.581, allocations: 52 kB / 0.5205 GB, free: 13.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004519/0.5814, allocations: 190 kB / 0.5206 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/0.582, allocations: 166 kB / 0.5208 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00675/0.5888, allocations: 2.098 MB / 0.5228 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.5888, allocations: 16 kB / 0.5229 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.5889, allocations: 4 kB / 0.5229 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.5889, allocations: 7.969 kB / 0.5229 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.6037, allocations: 4.52 MB / 0.5273 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.6038, allocations: 4 kB / 0.5273 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.6059, allocations: 236.1 kB / 0.5275 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/0.6083, allocations: 474.8 kB / 0.528 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.6085, allocations: 27.98 kB / 0.528 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.6198, allocations: 6.172 MB / 0.534 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.6198, allocations: 4.062 kB / 0.534 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009608/0.6295, allocations: 3.297 MB / 0.5372 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/0.6312, allocations: 399 kB / 0.5376 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/0.6316, allocations: 31.98 kB / 0.5377 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.6332, allocations: 83.92 kB / 0.5377 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/0.6337, allocations: 116.7 kB / 0.5378 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.6338, allocations: 32 kB / 0.5379 GB, free: 11.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002834/0.6367, allocations: 0.9995 MB / 0.5389 GB, free: 10.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6367, allocations: 0 / 0.5389 GB, free: 10.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002999/0.6397, allocations: 492 kB / 0.5393 GB, free: 9.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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: 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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008462/0.6406, allocations: 312.8 kB / 0.5396 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006083/0.6467, allocations: 2.2 MB / 0.5418 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6467, allocations: 0 / 0.5418 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003999/0.6508, allocations: 1.48 MB / 0.5432 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/0.6549, allocations: 416.8 kB / 0.5436 GB, free: 5.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.6662, allocations: 3.711 MB / 0.5472 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2312/0.8974, allocations: 1.862 MB / 0.5491 GB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00176/0.8992, allocations: 393.4 kB / 0.5494 GB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.8996, allocations: 111.9 kB / 0.5495 GB, free: 112.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.8996, allocations: 0 / 0.5495 GB, free: 112.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04907/0.9487, allocations: 26.08 MB / 0.575 GB, free: 111.1 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)