Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 222.1 MB, free: 5.684 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005114, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3226, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01058/0.3333, allocations: 7.641 MB / 334.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009451/0.3428, allocations: 3.252 MB / 337.4 MB, free: 8.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.3459, allocations: 35.81 kB / 337.4 MB, free: 8.566 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.3484, allocations: 0.6144 MB / 338 MB, free: 7.949 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.3526, allocations: 0.701 MB / 338.7 MB, free: 7.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3542, allocations: 315.4 kB / 339 MB, free: 6.938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.3586, allocations: 1.579 MB / 340.6 MB, free: 5.352 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3604, allocations: 1.22 MB / 341.8 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.3623, allocations: 0.7629 MB / 342.6 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.3642, allocations: 1.004 MB / 343.6 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.3645, allocations: 120 kB / 343.7 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009026/0.3654, allocations: 215.8 kB / 343.9 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.3662, allocations: 0.5881 MB / 344.5 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.3668, allocations: 456.6 kB / 344.9 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.3702, allocations: 2.941 MB / 347.9 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3702, allocations: 0 / 347.9 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3702, allocations: 4 kB / 347.9 MB, free: 14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001164/0.3703, allocations: 0 / 347.9 MB, free: 14 MB / 286.1 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.005726/0.3761, allocations: 2.269 MB / 350.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.3761, allocations: 8.031 kB / 350.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.3771, allocations: 269 kB / 350.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.3799, allocations: 1.268 MB / 351.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.38, allocations: 143.7 kB / 351.8 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.3804, allocations: 187.9 kB / 352 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.385, allocations: 2.408 MB / 354.4 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.385, allocations: 7.953 kB / 354.4 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.3852, allocations: 79.98 kB / 354.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3853, allocations: 99.67 kB / 354.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.3891, allocations: 1.97 MB / 356.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.402, allocations: 7.394 MB / 364 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.4045, allocations: 1.351 MB / 365.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.4049, allocations: 118.1 kB / 365.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.4064, allocations: 0.6905 MB / 366.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 5.33e-06/0.4064, allocations: 0 / 366.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.02464/0.4311, allocations: 7.394 MB / 373.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.4313, allocations: 175.2 kB / 373.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/0.4347, allocations: 1.364 MB / 375.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/0.4351, allocations: 45.7 kB / 375.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.4367, allocations: 0.9327 MB / 376 MB, free: 1.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008158/0.4375, allocations: 417.9 kB / 376.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4377, allocations: 32 kB / 376.5 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.438, allocations: 353.9 kB / 376.8 MB, free: 348 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.4401, allocations: 0.6442 MB / 377.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.4425, allocations: 0.9975 MB / 378.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.4448, allocations: 0.7949 MB / 379.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.4448, allocations: 0 / 379.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.007324/0.4521, allocations: 2.316 MB / 381.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.4522, allocations: 8 kB / 381.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.4523, allocations: 8 kB / 381.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.4545, allocations: 476.2 kB / 382.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.457, allocations: 311.5 kB / 382.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.4691, allocations: 6.531 MB / 388.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.4718, allocations: 99.89 kB / 389 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003856/0.4723, allocations: 51.98 kB / 389 MB, free: 3.52 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 146 * 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%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002633/0.4749, allocations: 0.6378 MB / 389.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008355/0.4758, allocations: 154.1 kB / 389.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007618/0.4834, allocations: 2.135 MB / 392 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/0.4835, allocations: 12 kB / 392 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.4836, allocations: 4 kB / 392 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/0.4836, allocations: 3.984 kB / 392 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.5002, allocations: 4.418 MB / 396.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.5003, allocations: 4.375 kB / 396.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.502, allocations: 199.7 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/0.5047, allocations: 0.5153 MB / 397.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.5049, allocations: 31.98 kB / 397.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.519, allocations: 7.984 MB / 405.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.5191, allocations: 8 kB / 405.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.5293, allocations: 3.238 MB / 408.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/0.531, allocations: 375 kB / 408.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006957/0.5318, allocations: 31.98 kB / 408.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/0.5337, allocations: 67.94 kB / 408.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/0.5342, allocations: 104.8 kB / 408.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.5344, allocations: 35.98 kB / 409 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003041/0.5375, allocations: 0.9362 MB / 409.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5375, allocations: 0 / 409.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003609/0.5411, allocations: 452 kB / 410.4 MB, free: 13.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 100 * 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: 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%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/0.5432, allocations: 477.6 kB / 410.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006702/0.5499, allocations: 2.239 MB / 413.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.55, allocations: 0 / 413.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004117/0.5541, allocations: 1.508 MB / 414.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/0.5584, allocations: 372.6 kB / 414.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.5748, allocations: 5.047 MB / 420 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/0.5787, allocations: 1.744 MB / 421.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002678/0.5814, allocations: 328.9 kB / 422 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.5821, allocations: 107.4 kB / 422.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5822, allocations: 0 / 422.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Templates: time 0.05783/0.64, allocations: 22.36 MB / 444.5 MB, free: 10.79 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: