Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [: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.001647/0.001647, allocations: 191.2 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.183/1.183, allocations: 194.2 MB / 202.8 MB, free: 8.836 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.001725/0.001725, allocations: 119.6 kB / 247.7 MB, free: 6.25 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.491e-06/5.521e-06, allocations: 0 / 297.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06931/0.06933, allocations: 44.5 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.2836, allocations: 106.6 MB / 448.6 MB, free: 4.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.2838, allocations: 83.33 kB / 448.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3757/0.6595, allocations: 92.82 MB / 0.5288 GB, free: 48.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003092/0.6599, allocations: 99.47 kB / 0.5289 GB, free: 48.18 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007658/0.6675, allocations: 3.55 MB / 0.5324 GB, free: 46.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.6676, allocations: 7.969 kB / 0.5324 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.6694, allocations: 0.5033 MB / 0.5329 GB, free: 46.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.674, allocations: 2.577 MB / 0.5354 GB, free: 46.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/0.6741, allocations: 114.2 kB / 0.5355 GB, free: 46.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.6746, allocations: 214.9 kB / 0.5357 GB, free: 46.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005547/0.6801, allocations: 3.797 MB / 0.5394 GB, free: 46.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/0.6862, allocations: 4.395 MB / 0.5437 GB, free: 45.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/0.6863, allocations: 7.125 kB / 0.5437 GB, free: 45.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.6867, allocations: 7.219 kB / 0.5437 GB, free: 45.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.6868, allocations: 179.8 kB / 0.5439 GB, free: 45.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/0.707, allocations: 14.36 MB / 0.5579 GB, free: 42.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.7091, allocations: 1.641 MB / 0.5595 GB, free: 42.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.7114, allocations: 1.992 MB / 0.5615 GB, free: 42.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.7117, allocations: 137.7 kB / 0.5616 GB, free: 42.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7117, allocations: 53.84 kB / 0.5617 GB, free: 42.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 3.968e-06/0.7117, allocations: 3.938 kB / 0.5617 GB, free: 42.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.01202/0.7238, allocations: 7.385 MB / 0.5689 GB, free: 40.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.7238, allocations: 80.69 kB / 0.569 GB, free: 40.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.726, allocations: 1.768 MB / 0.5707 GB, free: 39.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.7261, allocations: 29.52 kB / 0.5707 GB, free: 39.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.7265, allocations: 1.249 MB / 0.5719 GB, free: 38.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.7269, allocations: 0.7081 MB / 0.5726 GB, free: 38.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7271, allocations: 4 kB / 0.5726 GB, free: 38.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.7272, allocations: 398.4 kB / 0.573 GB, free: 37.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.7286, allocations: 1.248 MB / 0.5742 GB, free: 37.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.7303, allocations: 1.663 MB / 0.5759 GB, free: 36.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.7321, allocations: 1.505 MB / 0.5773 GB, free: 35.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.7321, allocations: 3.781 kB / 0.5773 GB, free: 35.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005621/0.7377, allocations: 3.794 MB / 0.581 GB, free: 34.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7378, allocations: 9.156 kB / 0.581 GB, free: 34.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.7378, allocations: 12.72 kB / 0.5811 GB, free: 34.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.7397, allocations: 0.7593 MB / 0.5818 GB, free: 34.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.7421, allocations: 0.528 MB / 0.5823 GB, free: 34.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.7503, allocations: 8.075 MB / 0.5902 GB, free: 28.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.7523, allocations: 64.44 kB / 0.5903 GB, free: 28.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.7525, allocations: 88.67 kB / 0.5903 GB, free: 28.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003922/0.7529, allocations: 156.2 kB / 0.5905 GB, free: 28.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/0.7533, allocations: 244.8 kB / 0.5907 GB, free: 28.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/0.7592, allocations: 3.539 MB / 0.5942 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.7592, allocations: 22.5 kB / 0.5942 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.7593, allocations: 6.781 kB / 0.5942 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.7593, allocations: 13.12 kB / 0.5942 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.7723, allocations: 7.387 MB / 0.6014 GB, free: 24.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.7724, allocations: 7.312 kB / 0.6014 GB, free: 24.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.7744, allocations: 394 kB / 0.6018 GB, free: 24.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.7767, allocations: 0.8012 MB / 0.6026 GB, free: 24.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.7769, allocations: 20.09 kB / 0.6026 GB, free: 24.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008803/0.7857, allocations: 9.52 MB / 0.6119 GB, free: 17.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7858, allocations: 2.844 kB / 0.6119 GB, free: 17.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006945/0.7927, allocations: 5.625 MB / 0.6174 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.7941, allocations: 0.6053 MB / 0.618 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/0.7947, allocations: 17.23 kB / 0.618 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.7962, allocations: 82.55 kB / 0.6181 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.7965, allocations: 142.4 kB / 0.6182 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.7967, allocations: 65.41 kB / 0.6183 GB, free: 14.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001866/0.7985, allocations: 1.333 MB / 0.6196 GB, free: 13.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002319/0.8009, allocations: 0.7123 MB / 0.6203 GB, free: 13.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005636/0.8014, allocations: 343.2 kB / 0.6206 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.8062, allocations: 3.645 MB / 0.6242 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8062, allocations: 0 / 0.6242 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.8092, allocations: 2.302 MB / 0.6264 GB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.8117, allocations: 0.5071 MB / 0.6269 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.8232, allocations: 6.428 MB / 0.6332 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00312/0.8264, allocations: 2.996 MB / 0.6361 GB, free: 5.117 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8264, allocations: 3.938 kB / 0.6361 GB, free: 5.113 MB / 394.7 MB Notification: Performance of Templates: time 0.1668/0.9932, allocations: 38 MB / 0.6732 GB, free: 116.9 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)