Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") [: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.001554/0.001554, allocations: 197.8 kB / 8.141 MB, free: 2.195 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.083/1.083, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001719/0.001719, allocations: 121 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.063e-06, allocations: 4 kB / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06763/0.06765, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/0.2789, allocations: 105 MB / 447.1 MB, free: 6.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2791, allocations: 84.77 kB / 447.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1797/0.4589, allocations: 64.43 MB / 0.4996 GB, free: 13.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003223/0.4592, allocations: 83.92 kB / 0.4997 GB, free: 12.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007928/0.4672, allocations: 3.234 MB / 0.5029 GB, free: 9.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4672, allocations: 12.03 kB / 0.5029 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.469, allocations: 443.2 kB / 0.5033 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.4743, allocations: 2.394 MB / 0.5056 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.4745, allocations: 100 kB / 0.5057 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006907/0.4752, allocations: 187.9 kB / 0.5059 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00675/0.4819, allocations: 3.382 MB / 0.5092 GB, free: 3.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1425/0.6245, allocations: 3.861 MB / 0.513 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.6246, allocations: 13.34 kB / 0.513 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005966/0.6252, allocations: 5.281 kB / 0.513 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.6254, allocations: 127.1 kB / 0.5131 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.6438, allocations: 13.09 MB / 0.5259 GB, free: 52.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.6455, allocations: 1.328 MB / 0.5272 GB, free: 52.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.6475, allocations: 1.583 MB / 0.5287 GB, free: 52.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.6478, allocations: 145.3 kB / 0.5289 GB, free: 52.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.6478, allocations: 54.59 kB / 0.5289 GB, free: 52.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 3.637e-06/0.6478, allocations: 0 / 0.5289 GB, free: 52.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.01481/0.6627, allocations: 6.429 MB / 0.5352 GB, free: 51.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.6627, allocations: 71 kB / 0.5353 GB, free: 51.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.6664, allocations: 1.729 MB / 0.537 GB, free: 51.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.6666, allocations: 29.55 kB / 0.537 GB, free: 51.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/0.6673, allocations: 1.12 MB / 0.5381 GB, free: 50.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005581/0.6678, allocations: 0.5864 MB / 0.5387 GB, free: 50.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.668, allocations: 0 / 0.5387 GB, free: 50.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6682, allocations: 380.3 kB / 0.539 GB, free: 50.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.6704, allocations: 1.087 MB / 0.5401 GB, free: 50.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.6728, allocations: 1.473 MB / 0.5415 GB, free: 49.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.6753, allocations: 1.304 MB / 0.5428 GB, free: 49.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.6754, allocations: 6.094 kB / 0.5428 GB, free: 49.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007902/0.6833, allocations: 3.376 MB / 0.5461 GB, free: 49.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6833, allocations: 5.562 kB / 0.5461 GB, free: 49.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.6834, allocations: 10.94 kB / 0.5461 GB, free: 49.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.6862, allocations: 0.814 MB / 0.5469 GB, free: 49.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.6892, allocations: 452.5 kB / 0.5473 GB, free: 49.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.7013, allocations: 10.13 MB / 0.5572 GB, free: 42.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.7041, allocations: 70.19 kB / 0.5573 GB, free: 42.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.7045, allocations: 79.08 kB / 0.5574 GB, free: 42.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006129/0.7051, allocations: 143.4 kB / 0.5575 GB, free: 42.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000891/0.706, allocations: 223.6 kB / 0.5577 GB, free: 42.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008677/0.7147, allocations: 3.185 MB / 0.5608 GB, free: 42.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.7148, allocations: 18.16 kB / 0.5609 GB, free: 42.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/0.7148, allocations: 10.98 kB / 0.5609 GB, free: 42.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.7149, allocations: 10.59 kB / 0.5609 GB, free: 42.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.7326, allocations: 6.484 MB / 0.5672 GB, free: 39.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7326, allocations: 0 / 0.5672 GB, free: 39.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/0.7351, allocations: 307 kB / 0.5675 GB, free: 39.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/0.7391, allocations: 0.9076 MB / 0.5684 GB, free: 39.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/0.7394, allocations: 19.2 kB / 0.5684 GB, free: 39.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009599/0.749, allocations: 12.64 MB / 0.5808 GB, free: 29.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.749, allocations: 0 / 0.5808 GB, free: 29.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006371/0.7554, allocations: 4.921 MB / 0.5856 GB, free: 27.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.7567, allocations: 0.554 MB / 0.5861 GB, free: 27.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005825/0.7573, allocations: 15.28 kB / 0.5861 GB, free: 27.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.7589, allocations: 85.08 kB / 0.5862 GB, free: 27.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.7592, allocations: 124 kB / 0.5863 GB, free: 27.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.7593, allocations: 50.8 kB / 0.5864 GB, free: 27.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002186/0.7615, allocations: 1.311 MB / 0.5876 GB, free: 26.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002524/0.7641, allocations: 0.6397 MB / 0.5883 GB, free: 26.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005667/0.7646, allocations: 332 kB / 0.5886 GB, free: 26.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.7692, allocations: 3.368 MB / 0.5919 GB, free: 24.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7692, allocations: 5.344 kB / 0.5919 GB, free: 24.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.7724, allocations: 2.321 MB / 0.5941 GB, free: 23.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.775, allocations: 0.4969 MB / 0.5946 GB, free: 23.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.7866, allocations: 5.565 MB / 0.6001 GB, free: 21.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003419/0.7901, allocations: 2.711 MB / 0.6027 GB, free: 20.25 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7901, allocations: 0 / 0.6027 GB, free: 20.25 MB / 394.7 MB Notification: Performance of Templates: time 0.05442/0.8445, allocations: 34.87 MB / 0.6368 GB, free: 9.719 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)