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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001247/0.001247, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.397/1.397, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001616/0.001616, allocations: 137.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.431e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07794/0.07798, allocations: 44.51 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/0.3937, allocations: 102.1 MB / 451.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.394, allocations: 89.52 kB / 451.6 MB, free: 9.629 MB / 314.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 - DAE generated: time 0.1155/0.5095, allocations: 43.95 MB / 495.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5095, allocations: 4 kB / 495.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.5097, allocations: 51.94 kB / 495.6 MB, free: 4.383 MB / 346.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.004182/0.5139, allocations: 2.131 MB / 497.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5139, allocations: 8.031 kB / 497.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007075/0.5146, allocations: 273 kB / 498 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.5177, allocations: 1.408 MB / 499.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5178, allocations: 151.6 kB / 499.6 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.5182, allocations: 195.9 kB / 499.8 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.5223, allocations: 2.363 MB / 0.4903 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.5223, allocations: 3.906 kB / 0.4903 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.5225, allocations: 87.91 kB / 0.4904 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.81e-05/0.5226, allocations: 83.69 kB / 0.4905 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.5256, allocations: 1.838 MB / 0.4923 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.5376, allocations: 7.46 MB / 0.4996 GB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.5394, allocations: 1.349 MB / 0.5009 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.5405, allocations: 0.7262 MB / 0.5016 GB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.5408, allocations: 138 kB / 0.5018 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5419, allocations: 0.6837 MB / 0.5024 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.246e-06/0.5419, allocations: 0 / 0.5024 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.01675/0.5586, allocations: 7.64 MB / 0.5099 GB, free: 9.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5588, allocations: 197.2 kB / 0.5101 GB, free: 9.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.5605, allocations: 1.21 MB / 0.5112 GB, free: 7.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.585e-05/0.5606, allocations: 49.7 kB / 0.5113 GB, free: 7.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008602/0.5615, allocations: 0.9247 MB / 0.5122 GB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.5618, allocations: 449.6 kB / 0.5126 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.5619, allocations: 31.94 kB / 0.5127 GB, free: 6.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5621, allocations: 365.9 kB / 0.513 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.5631, allocations: 0.6834 MB / 0.5137 GB, free: 5.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.5644, allocations: 1.037 MB / 0.5147 GB, free: 4.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.5657, allocations: 0.881 MB / 0.5155 GB, free: 3.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5657, allocations: 4 kB / 0.5156 GB, free: 3.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004036/0.5697, allocations: 2.546 MB / 0.518 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.5698, allocations: 37.7 kB / 0.5181 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.5698, allocations: 15.98 kB / 0.5181 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.5714, allocations: 0.6568 MB / 0.5187 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.5724, allocations: 299.5 kB / 0.519 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007401/0.5798, allocations: 6.449 MB / 0.5253 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5812, allocations: 111.9 kB / 0.5254 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5814, allocations: 60.3 kB / 0.5255 GB, free: 8.715 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.0003065/0.5817, allocations: 193.9 kB / 0.5257 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.5819, allocations: 158.1 kB / 0.5258 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.586, allocations: 2.336 MB / 0.5281 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.5861, allocations: 20 kB / 0.5281 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5861, allocations: 4 kB / 0.5281 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.5861, allocations: 7.984 kB / 0.5281 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007719/0.5938, allocations: 4.85 MB / 0.5329 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5939, allocations: 4 kB / 0.5329 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/0.5946, allocations: 187.7 kB / 0.533 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/0.5965, allocations: 0.7415 MB / 0.5338 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/0.5966, allocations: 35.98 kB / 0.5338 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00913/0.6058, allocations: 8.141 MB / 0.5418 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6058, allocations: 4 kB / 0.5418 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/0.6112, allocations: 3.418 MB / 0.5451 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/0.6121, allocations: 398.9 kB / 0.5455 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.6123, allocations: 35.98 kB / 0.5455 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/0.6131, allocations: 75.92 kB / 0.5456 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.6134, allocations: 105.1 kB / 0.5457 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6135, allocations: 39.98 kB / 0.5457 GB, free: 3.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.6149, allocations: 0.9223 MB / 0.5466 GB, free: 2.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6149, allocations: 0 / 0.5466 GB, free: 2.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00156/0.6164, allocations: 0.5312 MB / 0.5471 GB, free: 1.828 MB / 410.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.001173/0.6176, allocations: 0.5423 MB / 0.5477 GB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1822/0.7998, allocations: 2.42 MB / 0.55 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.7999, allocations: 2.188 kB / 0.55 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.8025, allocations: 1.599 MB / 0.5516 GB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.8043, allocations: 372.9 kB / 0.552 GB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.8095, allocations: 3.499 MB / 0.5554 GB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.8106, allocations: 1.753 MB / 0.5571 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.8117, allocations: 324.7 kB / 0.5574 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.812, allocations: 106.2 kB / 0.5575 GB, free: 111.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.812, allocations: 0 / 0.5575 GB, free: 111.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04068/0.8527, allocations: 27.68 MB / 0.5845 GB, free: 110.1 MB / 410.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)