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.0009288/0.0009289, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.221/1.221, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001834/0.001834, allocations: 120.4 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.37e-05, allocations: 0 / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.0879, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3903, allocations: 98.67 MB / 441.2 MB, free: 13.46 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3906, allocations: 86.08 kB / 441.3 MB, free: 13.42 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1186/0.5092, allocations: 43.97 MB / 485.3 MB, free: 8.602 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5093, allocations: 0 / 485.3 MB, free: 8.602 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001803/0.5094, allocations: 55.94 kB / 485.4 MB, free: 8.547 MB / 363.1 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.005157/0.5146, allocations: 2.185 MB / 487.5 MB, free: 6.305 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5147, allocations: 8.031 kB / 487.6 MB, free: 6.297 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.5157, allocations: 296.8 kB / 487.8 MB, free: 6.004 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.519, allocations: 1.538 MB / 489.4 MB, free: 4.406 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.5191, allocations: 64 kB / 489.4 MB, free: 4.344 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.5195, allocations: 123.9 kB / 489.6 MB, free: 4.223 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003672/0.5232, allocations: 2.027 MB / 491.6 MB, free: 2.188 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/0.5275, allocations: 2.349 MB / 493.9 MB, free: 15.71 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.5276, allocations: 12 kB / 494 MB, free: 15.7 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.5278, allocations: 4 kB / 494 MB, free: 15.69 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.5279, allocations: 83.94 kB / 494 MB, free: 15.61 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.5411, allocations: 8.061 MB / 0.4903 GB, free: 7.332 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.5432, allocations: 1.723 MB / 0.492 GB, free: 5.504 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.5445, allocations: 0.8684 MB / 0.4929 GB, free: 4.633 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.5448, allocations: 130.4 kB / 0.493 GB, free: 4.484 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.5449, allocations: 55.8 kB / 0.493 GB, free: 4.422 MB / 379.1 MB Notification: Performance of pre-optimization done (n=107): time 3.787e-06/0.5449, allocations: 0 / 0.493 GB, free: 4.422 MB / 379.1 MB Notification: Performance of matching and sorting (n=123): time 0.008145/0.553, allocations: 4.354 MB / 0.4973 GB, free: 4 kB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.5531, allocations: 64.72 kB / 0.4974 GB, free: 15.93 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.555, allocations: 1.096 MB / 0.4984 GB, free: 14.83 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-05/0.5551, allocations: 25.7 kB / 0.4984 GB, free: 14.8 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006722/0.5557, allocations: 0.9825 MB / 0.4994 GB, free: 13.8 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.5561, allocations: 413.9 kB / 0.4998 GB, free: 13.39 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.5562, allocations: 0 / 0.4998 GB, free: 13.39 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5563, allocations: 361.9 kB / 0.5001 GB, free: 13.03 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009219/0.5572, allocations: 0.6716 MB / 0.5008 GB, free: 12.36 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.5584, allocations: 0.972 MB / 0.5018 GB, free: 11.27 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.5596, allocations: 0.8143 MB / 0.5025 GB, free: 10.45 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.5596, allocations: 4 kB / 0.5026 GB, free: 10.45 MB / 395.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003406/0.563, allocations: 2.127 MB / 0.5046 GB, free: 8.301 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.563, allocations: 11.95 kB / 0.5046 GB, free: 8.289 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.5631, allocations: 8 kB / 0.5046 GB, free: 8.281 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009253/0.564, allocations: 404.8 kB / 0.505 GB, free: 7.875 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.5653, allocations: 347.5 kB / 0.5054 GB, free: 7.535 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.5698, allocations: 4.42 MB / 0.5097 GB, free: 2.883 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5709, allocations: 59.91 kB / 0.5097 GB, free: 2.824 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.5711, allocations: 48 kB / 0.5098 GB, free: 2.777 MB / 395.1 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.0002785/0.5714, allocations: 152.5 kB / 0.5099 GB, free: 2.621 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.5717, allocations: 150.1 kB / 0.5101 GB, free: 2.473 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.5752, allocations: 1.999 MB / 0.512 GB, free: 460 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5753, allocations: 12 kB / 0.512 GB, free: 448 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5753, allocations: 4 kB / 0.512 GB, free: 444 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.5753, allocations: 7.969 kB / 0.512 GB, free: 436 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1804/0.7557, allocations: 4.14 MB / 0.5161 GB, free: 90.14 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.7558, allocations: 7.672 kB / 0.5161 GB, free: 90.14 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.7567, allocations: 236.1 kB / 0.5163 GB, free: 90.14 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.7578, allocations: 455.6 kB / 0.5168 GB, free: 90.11 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.7579, allocations: 20.11 kB / 0.5168 GB, free: 90.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004264/0.7621, allocations: 5.898 MB / 0.5225 GB, free: 86.49 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7622, allocations: 4.938 kB / 0.5225 GB, free: 86.49 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.7656, allocations: 3.151 MB / 0.5256 GB, free: 86.05 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006858/0.7663, allocations: 386.5 kB / 0.526 GB, free: 85.95 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.7667, allocations: 11.31 kB / 0.526 GB, free: 85.95 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.7675, allocations: 61.45 kB / 0.5261 GB, free: 85.95 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.7677, allocations: 110.7 kB / 0.5262 GB, free: 85.95 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.7678, allocations: 36.42 kB / 0.5262 GB, free: 85.95 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000965/0.7688, allocations: 0.8269 MB / 0.527 GB, free: 85.84 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7688, allocations: 0 / 0.527 GB, free: 85.84 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001388/0.7702, allocations: 429.6 kB / 0.5274 GB, free: 85.84 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (107): * Single equations (assignments): 103 * 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.0004328/0.7706, allocations: 280.8 kB / 0.5277 GB, free: 85.75 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.7731, allocations: 2.129 MB / 0.5298 GB, free: 85.32 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7731, allocations: 0 / 0.5298 GB, free: 85.32 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.7747, allocations: 1.415 MB / 0.5311 GB, free: 84.89 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.7762, allocations: 324.2 kB / 0.5315 GB, free: 84.89 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/0.7821, allocations: 3.608 MB / 0.535 GB, free: 84.04 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.7835, allocations: 1.864 MB / 0.5368 GB, free: 83.29 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001079/0.7846, allocations: 380.9 kB / 0.5372 GB, free: 83.25 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.7849, allocations: 103.2 kB / 0.5373 GB, free: 83.25 MB / 395.1 MB Notification: Performance of SimCode: time 6.91e-07/0.7849, allocations: 0 / 0.5373 GB, free: 83.25 MB / 395.1 MB Notification: Performance of Templates: time 0.03659/0.8215, allocations: 20.52 MB / 0.5573 GB, free: 82.07 MB / 395.1 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)