Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001001/0.001001, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.392/1.392, allocations: 170.6 MB / 183.8 MB, free: 11.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001562/0.001562, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.775e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06573/0.06577, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2821/0.3479, allocations: 94.13 MB / 401.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3482, allocations: 85.08 kB / 401.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1155/0.4637, allocations: 44.44 MB / 446.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4638, allocations: 0 / 446.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001398/0.4639, allocations: 51.94 kB / 446.3 MB, free: 7.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.00468/0.4686, allocations: 2.177 MB / 448.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4687, allocations: 8.031 kB / 448.5 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009011/0.4696, allocations: 296.8 kB / 448.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.4727, allocations: 1.492 MB / 450.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.4728, allocations: 152 kB / 450.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.4732, allocations: 207.9 kB / 450.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.4778, allocations: 2.628 MB / 453.3 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/0.4778, allocations: 0 / 453.3 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.4781, allocations: 84 kB / 453.4 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.613e-05/0.4782, allocations: 87.89 kB / 453.4 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.4819, allocations: 2.116 MB / 455.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.4951, allocations: 8.391 MB / 464 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.4972, allocations: 1.787 MB / 465.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.4987, allocations: 0.9611 MB / 466.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.4991, allocations: 142 kB / 466.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4991, allocations: 47.5 kB / 466.9 MB, free: 2.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 5.841e-06/0.4991, allocations: 0 / 466.9 MB, free: 2.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.184/0.6832, allocations: 5.225 MB / 472.1 MB, free: 84.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.6832, allocations: 65.55 kB / 472.2 MB, free: 84.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.6856, allocations: 1.282 MB / 473.5 MB, free: 84.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.6857, allocations: 45.17 kB / 473.5 MB, free: 84.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.6864, allocations: 0.9695 MB / 474.5 MB, free: 84.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.6867, allocations: 424.2 kB / 474.9 MB, free: 83.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.6868, allocations: 26.94 kB / 474.9 MB, free: 83.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6869, allocations: 357.7 kB / 475.3 MB, free: 83.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.6881, allocations: 0.6973 MB / 476 MB, free: 83.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.6894, allocations: 1.003 MB / 477 MB, free: 83.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.6907, allocations: 0.846 MB / 477.8 MB, free: 83.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6907, allocations: 1.375 kB / 477.8 MB, free: 83.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00421/0.695, allocations: 2.269 MB / 480.1 MB, free: 83.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.695, allocations: 11.38 kB / 480.1 MB, free: 83.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.695, allocations: 8.562 kB / 480.1 MB, free: 83.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.696, allocations: 413.1 kB / 480.5 MB, free: 83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.6974, allocations: 337.8 kB / 480.8 MB, free: 83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.7014, allocations: 4.631 MB / 485.5 MB, free: 80.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.7028, allocations: 98.09 kB / 485.6 MB, free: 80.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.7029, allocations: 52.47 kB / 485.6 MB, free: 80.4 MB / 346.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.0002712/0.7032, allocations: 181.7 kB / 485.8 MB, free: 80.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.7034, allocations: 170.1 kB / 486 MB, free: 80.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.7065, allocations: 2.098 MB / 488.1 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7065, allocations: 11.53 kB / 488.1 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7066, allocations: 3.719 kB / 488.1 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.7066, allocations: 5.578 kB / 488.1 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006586/0.7132, allocations: 4.504 MB / 492.6 MB, free: 79.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7132, allocations: 3.812 kB / 492.6 MB, free: 79.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009542/0.7142, allocations: 241.8 kB / 492.8 MB, free: 79.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.7154, allocations: 467.5 kB / 493.3 MB, free: 79.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.7155, allocations: 34.98 kB / 493.3 MB, free: 79.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/0.7205, allocations: 6.161 MB / 499.5 MB, free: 74.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7205, allocations: 4.625 kB / 499.5 MB, free: 74.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/0.7249, allocations: 3.298 MB / 0.491 GB, free: 73.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.7259, allocations: 406.2 kB / 0.4914 GB, free: 72.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.7262, allocations: 32.5 kB / 0.4914 GB, free: 72.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.727, allocations: 83.34 kB / 0.4915 GB, free: 72.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.7273, allocations: 108.2 kB / 0.4916 GB, free: 72.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.7274, allocations: 43.31 kB / 0.4916 GB, free: 72.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001361/0.7288, allocations: 0.9838 MB / 0.4926 GB, free: 72.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.7288, allocations: 0 / 0.4926 GB, free: 72.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001538/0.7303, allocations: 493.7 kB / 0.4931 GB, free: 72.32 MB / 346.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.0004581/0.7308, allocations: 302.9 kB / 0.4933 GB, free: 72.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.7336, allocations: 2.204 MB / 0.4955 GB, free: 71.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7336, allocations: 0 / 0.4955 GB, free: 71.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.7354, allocations: 1.479 MB / 0.4969 GB, free: 70.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.7372, allocations: 415.1 kB / 0.4973 GB, free: 70.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.7428, allocations: 3.692 MB / 0.5009 GB, free: 68.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.744, allocations: 1.857 MB / 0.5028 GB, free: 67.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001292/0.7453, allocations: 387.4 kB / 0.5031 GB, free: 67.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.7457, allocations: 112.4 kB / 0.5032 GB, free: 67.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7457, allocations: 0 / 0.5032 GB, free: 67.84 MB / 346.7 MB Notification: Performance of Templates: time 0.03925/0.7849, allocations: 25.73 MB / 0.5284 GB, free: 55.86 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)