Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004723/0.004723, allocations: 176.2 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.374/1.374, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001856/0.001856, allocations: 111.8 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.047e-06, allocations: 4 kB / 261.8 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09611, allocations: 38.76 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.4001, allocations: 93.52 MB / 394 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4004, allocations: 81.02 kB / 394.1 MB, free: 7.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.1142/0.5146, allocations: 39.83 MB / 433.9 MB, free: 5.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002309/0.5149, allocations: 51.94 kB / 434 MB, free: 5.254 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006329/0.5212, allocations: 1.972 MB / 436 MB, free: 3.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.5213, allocations: 12.03 kB / 436 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.5229, allocations: 265.1 kB / 436.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.5268, allocations: 1.333 MB / 437.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.527, allocations: 60 kB / 437.6 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006785/0.5277, allocations: 119.9 kB / 437.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003862/0.5316, allocations: 1.761 MB / 439.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00398/0.5356, allocations: 2.112 MB / 441.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/0.5357, allocations: 3.906 kB / 441.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.5358, allocations: 4 kB / 441.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.872e-05/0.5359, allocations: 79.66 kB / 441.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.5492, allocations: 7.46 MB / 449.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.5505, allocations: 0.8313 MB / 450 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.5521, allocations: 0.9065 MB / 450.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.5524, allocations: 130.1 kB / 451 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.5525, allocations: 55.55 kB / 451.1 MB, free: 3.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 3.115e-06/0.5525, allocations: 0 / 451.1 MB, free: 3.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.009172/0.5616, allocations: 4.225 MB / 455.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.5617, allocations: 72.62 kB / 455.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.5635, allocations: 0.87 MB / 456.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5636, allocations: 37.58 kB / 456.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.5642, allocations: 0.7085 MB / 457 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.5645, allocations: 425.6 kB / 457.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.5646, allocations: 0 / 457.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5648, allocations: 365.9 kB / 457.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009575/0.5658, allocations: 0.6326 MB / 458.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.567, allocations: 0.9494 MB / 459.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.5683, allocations: 0.7948 MB / 460.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5683, allocations: 0 / 460.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003643/0.5719, allocations: 2.168 MB / 462.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.572, allocations: 8 kB / 462.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.572, allocations: 8 kB / 462.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.5732, allocations: 0.5001 MB / 462.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.5746, allocations: 323.5 kB / 463.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006351/0.581, allocations: 6.142 MB / 469.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.5823, allocations: 39.95 kB / 469.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.5824, allocations: 52 kB / 469.4 MB, free: 0.7852 MB / 346.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.0003001/0.5827, allocations: 141 kB / 469.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.583, allocations: 138.3 kB / 469.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1368/0.7199, allocations: 1.99 MB / 471.6 MB, free: 125.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.7199, allocations: 16.41 kB / 471.7 MB, free: 125.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.7199, allocations: 5.031 kB / 471.7 MB, free: 125.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.72, allocations: 7.031 kB / 471.7 MB, free: 125.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006398/0.7264, allocations: 3.964 MB / 475.6 MB, free: 125.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7264, allocations: 4.312 kB / 475.6 MB, free: 125.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.7275, allocations: 220.7 kB / 475.8 MB, free: 125.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.7288, allocations: 0.5499 MB / 476.4 MB, free: 125.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/0.7289, allocations: 13.06 kB / 476.4 MB, free: 125.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/0.7353, allocations: 7.599 MB / 484 MB, free: 120.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.7354, allocations: 5.656 kB / 484 MB, free: 120.4 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004082/0.7395, allocations: 3.098 MB / 487.1 MB, free: 119.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/0.7402, allocations: 353 kB / 487.5 MB, free: 119.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.7405, allocations: 13.59 kB / 487.5 MB, free: 119.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.7412, allocations: 50.73 kB / 487.5 MB, free: 119.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.7414, allocations: 76.02 kB / 487.6 MB, free: 119.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.7415, allocations: 34.5 kB / 487.6 MB, free: 119.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0009227/0.7424, allocations: 0.6573 MB / 488.3 MB, free: 119.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001595/0.744, allocations: 404.9 kB / 488.7 MB, free: 119.7 MB / 346.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.0005057/0.7445, allocations: 283.4 kB / 489 MB, free: 119.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.7476, allocations: 2.17 MB / 491.1 MB, free: 119.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7476, allocations: 0 / 491.1 MB, free: 119.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.7497, allocations: 1.434 MB / 492.6 MB, free: 118.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.7512, allocations: 277.6 kB / 492.8 MB, free: 118.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.7572, allocations: 3.419 MB / 496.3 MB, free: 117.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.7586, allocations: 1.766 MB / 498 MB, free: 117 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7586, allocations: 0 / 498 MB, free: 117 MB / 346.7 MB Notification: Performance of Templates: time 0.0372/0.7958, allocations: 21.34 MB / 0.5072 GB, free: 112.5 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)