Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [: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.001577/0.001577, allocations: 193.2 kB / 8.137 MB, free: 2.184 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.05/1.05, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.0017/0.0017, allocations: 119.5 kB / 247.8 MB, free: 6.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.103e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07193/0.07196, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.2936, allocations: 98.83 MB / 440.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.2938, allocations: 83.58 kB / 441 MB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1163/0.4101, allocations: 40.71 MB / 481.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00016/0.4103, allocations: 55.94 kB / 481.7 MB, free: 11.19 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004575/0.4149, allocations: 1.984 MB / 483.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.415, allocations: 15.97 kB / 483.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.416, allocations: 273.1 kB / 484 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.419, allocations: 1.384 MB / 485.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.419, allocations: 64 kB / 485.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/0.4194, allocations: 119.9 kB / 485.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003414/0.4228, allocations: 1.769 MB / 487.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.4267, allocations: 2.121 MB / 489.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.4267, allocations: 11.91 kB / 489.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.4269, allocations: 0 / 489.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.141e-05/0.427, allocations: 87.69 kB / 489.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.4402, allocations: 7.492 MB / 497.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4415, allocations: 0.8309 MB / 497.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.4431, allocations: 0.9104 MB / 498.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.4434, allocations: 130 kB / 498.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4435, allocations: 55.47 kB / 499 MB, free: 9.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 3.206e-06/0.4435, allocations: 0 / 499 MB, free: 9.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.009034/0.4525, allocations: 4.242 MB / 0.4914 GB, free: 5.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.4526, allocations: 68.72 kB / 0.4915 GB, free: 5.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.4541, allocations: 0.8937 MB / 0.4924 GB, free: 4.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.4542, allocations: 25.7 kB / 0.4924 GB, free: 4.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.4547, allocations: 0.7163 MB / 0.4931 GB, free: 3.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.455, allocations: 429.6 kB / 0.4935 GB, free: 3.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.4551, allocations: 0 / 0.4935 GB, free: 3.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4553, allocations: 361.9 kB / 0.4938 GB, free: 2.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/0.4562, allocations: 0.6365 MB / 0.4945 GB, free: 2.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.4574, allocations: 0.9568 MB / 0.4954 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.4587, allocations: 0.7948 MB / 0.4962 GB, free: 152 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4587, allocations: 4 kB / 0.4962 GB, free: 148 kB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003861/0.4626, allocations: 2.164 MB / 0.4983 GB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4626, allocations: 4 kB / 0.4983 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4626, allocations: 8 kB / 0.4983 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.4639, allocations: 0.497 MB / 0.4988 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4654, allocations: 335.4 kB / 0.4991 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.472, allocations: 6.144 MB / 0.5051 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4732, allocations: 43.86 kB / 0.5051 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4733, allocations: 52 kB / 0.5052 GB, free: 6.523 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.4736, allocations: 138.2 kB / 0.5053 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.474, allocations: 138.3 kB / 0.5055 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/0.4777, allocations: 2.004 MB / 0.5074 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4778, allocations: 16 kB / 0.5074 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4778, allocations: 8 kB / 0.5074 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4778, allocations: 3.984 kB / 0.5074 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007527/0.4853, allocations: 3.983 MB / 0.5113 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.4854, allocations: 4.281 kB / 0.5113 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.08733/0.5727, allocations: 219.8 kB / 0.5115 GB, free: 137.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.5742, allocations: 0.5343 MB / 0.5121 GB, free: 137.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.5744, allocations: 26.83 kB / 0.5121 GB, free: 137.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.5804, allocations: 7.594 MB / 0.5195 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5804, allocations: 6.688 kB / 0.5195 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003857/0.5842, allocations: 3.094 MB / 0.5225 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/0.5849, allocations: 360.4 kB / 0.5229 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.5852, allocations: 11.17 kB / 0.5229 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/0.586, allocations: 41.05 kB / 0.5229 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.5862, allocations: 79.91 kB / 0.523 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/0.5863, allocations: 39.17 kB / 0.523 GB, free: 132.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008361/0.5871, allocations: 0.6797 MB / 0.5237 GB, free: 132.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001286/0.5884, allocations: 400.9 kB / 0.5241 GB, free: 132.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004187/0.5888, allocations: 289.6 kB / 0.5244 GB, free: 132.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.5914, allocations: 2.162 MB / 0.5265 GB, free: 131.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5914, allocations: 0 / 0.5265 GB, free: 131.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.5932, allocations: 1.43 MB / 0.5279 GB, free: 131.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.5946, allocations: 290.7 kB / 0.5282 GB, free: 131.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005494/0.6001, allocations: 3.44 MB / 0.5315 GB, free: 130.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.6015, allocations: 1.781 MB / 0.5333 GB, free: 129.5 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6015, allocations: 0 / 0.5333 GB, free: 129.5 MB / 394.7 MB Notification: Performance of Templates: time 0.03267/0.6341, allocations: 21.53 MB / 0.5543 GB, free: 128.3 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)