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.001322/0.001322, allocations: 179 kB / 16.38 MB, free: 5.762 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.184/1.184, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001547/0.001547, allocations: 109.5 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.076/0.07627, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.3112, allocations: 102.1 MB / 457.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.3115, allocations: 92.92 kB / 457.3 MB, free: 3.738 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 - DAE generated: time 0.1149/0.4264, allocations: 43.89 MB / 0.4894 GB, free: 9.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.137e-06/0.4264, allocations: 3.984 kB / 0.4894 GB, free: 9.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001715/0.4266, allocations: 51.94 kB / 0.4895 GB, free: 9.863 MB / 378.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.005417/0.432, allocations: 2.352 MB / 0.4918 GB, free: 7.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4321, allocations: 12.03 kB / 0.4918 GB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009856/0.433, allocations: 269.1 kB / 0.4921 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.4364, allocations: 1.431 MB / 0.4935 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.4366, allocations: 147.7 kB / 0.4936 GB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.437, allocations: 191.9 kB / 0.4938 GB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.441, allocations: 2.402 MB / 0.4961 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.4411, allocations: 11.89 kB / 0.4961 GB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.4413, allocations: 79.98 kB / 0.4962 GB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.521e-05/0.4414, allocations: 87.69 kB / 0.4963 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.4443, allocations: 1.892 MB / 0.4981 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.4545, allocations: 7.456 MB / 0.5054 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.4564, allocations: 1.394 MB / 0.5068 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.4567, allocations: 134.1 kB / 0.5069 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009999/0.4577, allocations: 0.7061 MB / 0.5076 GB, free: 6.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.136e-06/0.4577, allocations: 0 / 0.5076 GB, free: 6.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.1668/0.6245, allocations: 8.37 MB / 0.5158 GB, free: 97.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.6246, allocations: 172.5 kB / 0.5159 GB, free: 97.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.6263, allocations: 1.218 MB / 0.5171 GB, free: 97.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.6265, allocations: 49.11 kB / 0.5172 GB, free: 96.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007565/0.6272, allocations: 0.9237 MB / 0.5181 GB, free: 96.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.6275, allocations: 451.5 kB / 0.5185 GB, free: 96.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.6276, allocations: 29.62 kB / 0.5185 GB, free: 96.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.6277, allocations: 363.2 kB / 0.5189 GB, free: 96.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.6287, allocations: 0.7115 MB / 0.5196 GB, free: 96.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.6299, allocations: 1.072 MB / 0.5206 GB, free: 95.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6311, allocations: 0.9009 MB / 0.5215 GB, free: 95.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6311, allocations: 2.438 kB / 0.5215 GB, free: 95.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004017/0.6351, allocations: 2.602 MB / 0.524 GB, free: 95.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.6352, allocations: 42.3 kB / 0.5241 GB, free: 95.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6352, allocations: 10.25 kB / 0.5241 GB, free: 95.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.6368, allocations: 0.6526 MB / 0.5247 GB, free: 95.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6378, allocations: 307.7 kB / 0.525 GB, free: 95.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.6448, allocations: 6.687 MB / 0.5316 GB, free: 92.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.646, allocations: 100.2 kB / 0.5317 GB, free: 92.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6461, allocations: 62.44 kB / 0.5317 GB, free: 92.86 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: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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.001043/0.6471, allocations: 0.6471 MB / 0.5323 GB, free: 92.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6474, allocations: 161.8 kB / 0.5325 GB, free: 92.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.6513, allocations: 2.398 MB / 0.5348 GB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6513, allocations: 15.59 kB / 0.5349 GB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6513, allocations: 6.719 kB / 0.5349 GB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6513, allocations: 8.562 kB / 0.5349 GB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006676/0.658, allocations: 4.793 MB / 0.5396 GB, free: 91.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.658, allocations: 1.375 kB / 0.5396 GB, free: 91.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.6588, allocations: 185.6 kB / 0.5397 GB, free: 91.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.6605, allocations: 0.7524 MB / 0.5405 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.6606, allocations: 31.14 kB / 0.5405 GB, free: 91.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006855/0.6674, allocations: 8.415 MB / 0.5487 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6674, allocations: 1.641 kB / 0.5487 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.6715, allocations: 3.458 MB / 0.5521 GB, free: 83.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006842/0.6722, allocations: 400.2 kB / 0.5525 GB, free: 83.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.6724, allocations: 35.64 kB / 0.5525 GB, free: 83.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/0.6732, allocations: 76.38 kB / 0.5526 GB, free: 83.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.6734, allocations: 103.8 kB / 0.5527 GB, free: 83.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.6734, allocations: 39.28 kB / 0.5527 GB, free: 83.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001055/0.6745, allocations: 0.94 MB / 0.5536 GB, free: 83.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6745, allocations: 0 / 0.5536 GB, free: 83.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001449/0.676, allocations: 0.5263 MB / 0.5541 GB, free: 83.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * 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,59.2%) 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.00109/0.677, allocations: 0.5842 MB / 0.5547 GB, free: 82.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.6802, allocations: 2.497 MB / 0.5572 GB, free: 81.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6802, allocations: 3.406 kB / 0.5572 GB, free: 81.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.6823, allocations: 1.638 MB / 0.5588 GB, free: 80.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6836, allocations: 372.1 kB / 0.5591 GB, free: 80.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.6889, allocations: 5.124 MB / 0.5641 GB, free: 77.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.6899, allocations: 1.758 MB / 0.5658 GB, free: 77.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000849/0.6908, allocations: 317 kB / 0.5661 GB, free: 77.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.691, allocations: 111.5 kB / 0.5662 GB, free: 77.02 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.691, allocations: 0 / 0.5662 GB, free: 77.02 MB / 394.7 MB Notification: Performance of Templates: time 0.03191/0.7229, allocations: 27.36 MB / 0.593 GB, free: 66.43 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)