Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [: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.001503/0.001503, allocations: 186.7 kB / 8.135 MB, free: 2.207 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.195/1.195, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.00167/0.00167, allocations: 119.9 kB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.542e-06, allocations: 0 / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06743/0.06745, allocations: 44.5 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.2791, allocations: 101.3 MB / 443.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.2793, allocations: 85.23 kB / 443.5 MB, free: 10.02 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.1241/0.4035, allocations: 43.16 MB / 486.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.4036, allocations: 55.92 kB / 486.7 MB, free: 6.137 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004495/0.4082, allocations: 2.123 MB / 488.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4082, allocations: 15.91 kB / 488.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.4091, allocations: 273.1 kB / 489.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.4121, allocations: 1.423 MB / 490.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.4121, allocations: 60 kB / 490.6 MB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.4125, allocations: 119.9 kB / 490.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003155/0.4156, allocations: 1.772 MB / 492.4 MB, free: 240 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/0.4192, allocations: 2.125 MB / 494.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.4193, allocations: 7.906 kB / 494.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.4194, allocations: 0 / 494.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/0.4195, allocations: 87.67 kB / 494.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.4309, allocations: 7.127 MB / 0.49 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.4321, allocations: 0.7628 MB / 0.4908 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4333, allocations: 0.7532 MB / 0.4915 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.4336, allocations: 134 kB / 0.4916 GB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009279/0.4346, allocations: 0.6622 MB / 0.4923 GB, free: 4.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.627e-06/0.4346, allocations: 3.938 kB / 0.4923 GB, free: 4.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.01214/0.4467, allocations: 6.071 MB / 0.4982 GB, free: 14.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.4469, allocations: 205.2 kB / 0.4984 GB, free: 13.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.4485, allocations: 1.005 MB / 0.4994 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.4486, allocations: 25.7 kB / 0.4994 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.4493, allocations: 0.7401 MB / 0.5001 GB, free: 12.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.4497, allocations: 437.5 kB / 0.5006 GB, free: 11.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.4497, allocations: 0 / 0.5006 GB, free: 11.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4499, allocations: 365.9 kB / 0.5009 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.4509, allocations: 0.6677 MB / 0.5016 GB, free: 10.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.4522, allocations: 1.025 MB / 0.5026 GB, free: 9.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4535, allocations: 0.8381 MB / 0.5034 GB, free: 8.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4535, allocations: 7.906 kB / 0.5034 GB, free: 8.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004259/0.4578, allocations: 2.379 MB / 0.5057 GB, free: 6.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4578, allocations: 4 kB / 0.5057 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.4578, allocations: 12 kB / 0.5057 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.4596, allocations: 0.6569 MB / 0.5064 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4609, allocations: 295.6 kB / 0.5067 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.102/0.5629, allocations: 5.88 MB / 0.5124 GB, free: 134.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.5641, allocations: 56.41 kB / 0.5124 GB, free: 134.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5642, allocations: 57.12 kB / 0.5125 GB, free: 134.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.5645, allocations: 143.7 kB / 0.5126 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5647, allocations: 147 kB / 0.5128 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.5683, allocations: 2.227 MB / 0.515 GB, free: 134.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.5683, allocations: 12.25 kB / 0.515 GB, free: 134.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5683, allocations: 7.312 kB / 0.515 GB, free: 134.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5683, allocations: 6.562 kB / 0.515 GB, free: 134.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006604/0.5749, allocations: 4.5 MB / 0.5194 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5749, allocations: 0 / 0.5194 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/0.5758, allocations: 189.5 kB / 0.5196 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.5776, allocations: 0.7325 MB / 0.5203 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.5777, allocations: 17.23 kB / 0.5203 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.5849, allocations: 7.484 MB / 0.5276 GB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5849, allocations: 0 / 0.5276 GB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004232/0.5891, allocations: 3.342 MB / 0.5309 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.5897, allocations: 378.8 kB / 0.5312 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.59, allocations: 6.906 kB / 0.5312 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.5908, allocations: 47.05 kB / 0.5313 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.591, allocations: 71.06 kB / 0.5313 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.742e-05/0.5911, allocations: 44.83 kB / 0.5314 GB, free: 129.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008695/0.592, allocations: 0.75 MB / 0.5321 GB, free: 129.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001296/0.5933, allocations: 451.8 kB / 0.5325 GB, free: 129.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008169/0.5941, allocations: 483.4 kB / 0.533 GB, free: 129.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.5969, allocations: 2.24 MB / 0.5352 GB, free: 129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.597, allocations: 0 / 0.5352 GB, free: 129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.599, allocations: 1.456 MB / 0.5366 GB, free: 128.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6004, allocations: 274.5 kB / 0.5369 GB, free: 128.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005494/0.6059, allocations: 3.476 MB / 0.5403 GB, free: 127.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.6073, allocations: 1.837 MB / 0.5421 GB, free: 127 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6073, allocations: 3.875 kB / 0.5421 GB, free: 127 MB / 394.7 MB Notification: Performance of Templates: time 0.03494/0.6422, allocations: 22.89 MB / 0.5644 GB, free: 125.6 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)