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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001587/0.001588, allocations: 191.6 kB / 8.135 MB, free: 2.199 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.119/1.119, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001688/0.001688, allocations: 120.2 kB / 247.7 MB, free: 6.441 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.142e-06, allocations: 0 / 297.6 MB, free: 8.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06947/0.06949, allocations: 44.48 MB / 342.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.2659, allocations: 98.6 MB / 440.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.2661, allocations: 86.75 kB / 440.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1261/0.3922, allocations: 43.8 MB / 484.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001854/0.3924, allocations: 59.88 kB / 484.6 MB, free: 8.371 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.004928/0.3974, allocations: 2.185 MB / 486.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3974, allocations: 11.97 kB / 486.8 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/0.3984, allocations: 292.8 kB / 487.1 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.4017, allocations: 1.554 MB / 488.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.4018, allocations: 68 kB / 488.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.4021, allocations: 119.9 kB / 488.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003801/0.4059, allocations: 2.07 MB / 490.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/0.4108, allocations: 2.395 MB / 493.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.4109, allocations: 3.906 kB / 493.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.4111, allocations: 4 kB / 493.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-05/0.4112, allocations: 87.94 kB / 493.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.425, allocations: 8.111 MB / 0.4897 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.4263, allocations: 0.812 MB / 0.4905 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.4278, allocations: 0.9416 MB / 0.4914 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.4281, allocations: 138 kB / 0.4916 GB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.4282, allocations: 44.31 kB / 0.4916 GB, free: 5.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.085e-06/0.4282, allocations: 0 / 0.4916 GB, free: 5.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.009114/0.4373, allocations: 4.419 MB / 0.4959 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4374, allocations: 68.39 kB / 0.496 GB, free: 480 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.4393, allocations: 1.104 MB / 0.4971 GB, free: 15.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/0.4394, allocations: 25.7 kB / 0.4971 GB, free: 15.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.4399, allocations: 0.7677 MB / 0.4979 GB, free: 14.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.4402, allocations: 405.9 kB / 0.4982 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.4403, allocations: 0 / 0.4982 GB, free: 14.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4404, allocations: 361.9 kB / 0.4986 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.4415, allocations: 0.7028 MB / 0.4993 GB, free: 13.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.4427, allocations: 0.9838 MB / 0.5002 GB, free: 11.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.444, allocations: 0.8455 MB / 0.5011 GB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.444, allocations: 4 kB / 0.5011 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003675/0.4477, allocations: 2.191 MB / 0.5032 GB, free: 8.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4477, allocations: 4.781 kB / 0.5032 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.4478, allocations: 8 kB / 0.5032 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.4488, allocations: 419.1 kB / 0.5036 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.4503, allocations: 327.5 kB / 0.5039 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004773/0.4551, allocations: 4.269 MB / 0.5081 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4563, allocations: 55.91 kB / 0.5081 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.4564, allocations: 48 kB / 0.5082 GB, free: 3.555 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.0003512/0.4568, allocations: 142.1 kB / 0.5083 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.457, allocations: 154.1 kB / 0.5085 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.4606, allocations: 2.032 MB / 0.5105 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4606, allocations: 15.91 kB / 0.5105 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4606, allocations: 4 kB / 0.5105 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4607, allocations: 3.984 kB / 0.5105 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09211/0.5528, allocations: 4.204 MB / 0.5146 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5528, allocations: 3.938 kB / 0.5146 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.5539, allocations: 236.9 kB / 0.5148 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.5551, allocations: 463.4 kB / 0.5153 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.5552, allocations: 13.41 kB / 0.5153 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004578/0.5598, allocations: 5.728 MB / 0.5209 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5598, allocations: 3.281 kB / 0.5209 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003949/0.5638, allocations: 3.232 MB / 0.524 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/0.5646, allocations: 386.8 kB / 0.5244 GB, free: 131.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.5649, allocations: 14.62 kB / 0.5244 GB, free: 131.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.5658, allocations: 50.25 kB / 0.5245 GB, free: 131.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.566, allocations: 87.89 kB / 0.5245 GB, free: 131.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.5661, allocations: 41.52 kB / 0.5246 GB, free: 131.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001043/0.5671, allocations: 0.8344 MB / 0.5254 GB, free: 131.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001326/0.5685, allocations: 420 kB / 0.5258 GB, free: 131.8 MB / 394.7 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.0004399/0.5689, allocations: 284.3 kB / 0.5261 GB, free: 131.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.5715, allocations: 2.13 MB / 0.5281 GB, free: 131.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5715, allocations: 0 / 0.5281 GB, free: 131.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.5733, allocations: 1.387 MB / 0.5295 GB, free: 130.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.5748, allocations: 319.3 kB / 0.5298 GB, free: 130.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.5805, allocations: 3.661 MB / 0.5334 GB, free: 130.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/0.5821, allocations: 1.966 MB / 0.5353 GB, free: 129.3 MB / 394.7 MB Notification: Performance of SimCode: time 5.2e-07/0.5821, allocations: 3.969 kB / 0.5353 GB, free: 129.3 MB / 394.7 MB Notification: Performance of Templates: time 0.03459/0.6167, allocations: 21.6 MB / 0.5564 GB, free: 128.1 MB / 394.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)