Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [: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.001074/0.001074, allocations: 189.8 kB / 8.136 MB, free: 2.215 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.069/1.069, allocations: 194.2 MB / 202.8 MB, free: 8.828 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.001815/0.001815, allocations: 113.2 kB / 247.7 MB, free: 6.234 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/6.031e-06, allocations: 0 / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07052/0.07054, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.2723, allocations: 97.54 MB / 439.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.2726, allocations: 87.52 kB / 439.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1121/0.3847, allocations: 40.32 MB / 480 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.3848, allocations: 44 kB / 480.1 MB, free: 12.9 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003538/0.3883, allocations: 1.984 MB / 482 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3884, allocations: 11.97 kB / 482.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.3891, allocations: 269.1 kB / 482.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.3916, allocations: 1.42 MB / 483.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3917, allocations: 63.91 kB / 483.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.392, allocations: 108 kB / 483.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002958/0.3949, allocations: 1.788 MB / 485.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.3984, allocations: 2.104 MB / 487.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/0.3985, allocations: 4 kB / 487.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.3986, allocations: 8 kB / 487.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-05/0.3987, allocations: 83.48 kB / 487.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.4096, allocations: 7.167 MB / 495.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.4109, allocations: 0.7275 MB / 495.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4121, allocations: 0.7475 MB / 496.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.4124, allocations: 129.8 kB / 496.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4124, allocations: 43.34 kB / 496.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/0.4124, allocations: 0 / 496.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.007627/0.42, allocations: 3.972 MB / 0.4889 GB, free: 7.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.4201, allocations: 64.41 kB / 0.489 GB, free: 7.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4215, allocations: 1.005 MB / 0.49 GB, free: 6.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.4216, allocations: 25.7 kB / 0.49 GB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.422, allocations: 0.7086 MB / 0.4907 GB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.4222, allocations: 342.9 kB / 0.491 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.4223, allocations: 0 / 0.491 GB, free: 5.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4225, allocations: 357.9 kB / 0.4914 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008607/0.4233, allocations: 0.6077 MB / 0.492 GB, free: 4.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4244, allocations: 0.8883 MB / 0.4928 GB, free: 3.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4254, allocations: 0.7368 MB / 0.4935 GB, free: 2.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4255, allocations: 4 kB / 0.4936 GB, free: 2.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004045/0.4295, allocations: 2.279 MB / 0.4958 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4295, allocations: 4 kB / 0.4958 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4296, allocations: 11.94 kB / 0.4958 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.4317, allocations: 0.7704 MB / 0.4965 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4327, allocations: 235.6 kB / 0.4968 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.4432, allocations: 7.771 MB / 0.5044 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.4442, allocations: 48.11 kB / 0.5044 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.4443, allocations: 47.98 kB / 0.5045 GB, free: 7.465 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.4446, allocations: 138.2 kB / 0.5046 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.4448, allocations: 134.3 kB / 0.5047 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.448, allocations: 1.805 MB / 0.5065 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.448, allocations: 12 kB / 0.5065 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.448, allocations: 8.125 kB / 0.5065 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.448, allocations: 7.969 kB / 0.5065 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/0.4544, allocations: 3.686 MB / 0.5101 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4544, allocations: 0 / 0.5101 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/0.4554, allocations: 192 kB / 0.5103 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4568, allocations: 462.9 kB / 0.5107 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/0.4569, allocations: 19.97 kB / 0.5107 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1058/0.5627, allocations: 5.726 MB / 0.5163 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5628, allocations: 7.25 kB / 0.5163 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003455/0.5662, allocations: 2.799 MB / 0.5191 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.5668, allocations: 341.7 kB / 0.5194 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.5671, allocations: 19.66 kB / 0.5194 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.5679, allocations: 48.11 kB / 0.5195 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.568, allocations: 60.78 kB / 0.5195 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/0.5681, allocations: 31.27 kB / 0.5196 GB, free: 114.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009334/0.5691, allocations: 0.7581 MB / 0.5203 GB, free: 114 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5703, allocations: 398.7 kB / 0.5207 GB, free: 114 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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.0003883/0.5707, allocations: 271.1 kB / 0.5209 GB, free: 113.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.5732, allocations: 1.854 MB / 0.5227 GB, free: 113.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.5732, allocations: 0 / 0.5227 GB, free: 113.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.5748, allocations: 1.24 MB / 0.524 GB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5761, allocations: 269.5 kB / 0.5242 GB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.5815, allocations: 3.267 MB / 0.5274 GB, free: 112.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.5831, allocations: 1.803 MB / 0.5292 GB, free: 111.9 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5831, allocations: 0 / 0.5292 GB, free: 111.9 MB / 394.7 MB Notification: Performance of Templates: time 0.02949/0.6126, allocations: 20.1 MB / 0.5488 GB, free: 110.7 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)