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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 89.39 kB / 16.32 MB, free: 6.453 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.001318/0.001318, allocations: 176.2 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.0004615/0.0004616, allocations: 14.81 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3232, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01158/0.3348, allocations: 8.33 MB / 336.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008894/0.3438, allocations: 3.183 MB / 339.3 MB, free: 7.969 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3456, allocations: 39.75 kB / 339.3 MB, free: 7.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.3475, allocations: 0.6023 MB / 339.9 MB, free: 7.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.3499, allocations: 0.6838 MB / 340.6 MB, free: 6.637 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.351, allocations: 315.5 kB / 340.9 MB, free: 6.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003156/0.3542, allocations: 2.471 MB / 343.4 MB, free: 3.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.3558, allocations: 1.216 MB / 344.6 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3578, allocations: 0.8443 MB / 345.4 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.36, allocations: 1.148 MB / 346.6 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004055/0.3605, allocations: 128 kB / 346.7 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.3614, allocations: 231.9 kB / 346.9 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007944/0.3622, allocations: 0.6191 MB / 347.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.363, allocations: 460.5 kB / 348 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.3664, allocations: 2.984 MB / 351 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.3665, allocations: 0 / 351 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3665, allocations: 0 / 351 MB, free: 12.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001113/0.3666, allocations: 0 / 351 MB, free: 12.17 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.005364/0.372, allocations: 2.289 MB / 353.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.372, allocations: 8.031 kB / 353.3 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008682/0.3729, allocations: 269.1 kB / 353.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.3754, allocations: 1.252 MB / 354.8 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3755, allocations: 139.7 kB / 354.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.3758, allocations: 191.9 kB / 355.1 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.3802, allocations: 2.424 MB / 357.5 MB, free: 5.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.3803, allocations: 11.8 kB / 357.5 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.3804, allocations: 75.98 kB / 357.6 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.3805, allocations: 99.67 kB / 357.7 MB, free: 5.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/0.384, allocations: 1.978 MB / 359.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.3965, allocations: 7.421 MB / 367.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.3986, allocations: 1.356 MB / 368.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.4002, allocations: 0.8896 MB / 369.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.4006, allocations: 122.1 kB / 369.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.4018, allocations: 0.6836 MB / 370.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.005e-06/0.4018, allocations: 0 / 370.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01584/0.4177, allocations: 7.405 MB / 377.6 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.4179, allocations: 196.9 kB / 377.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.4199, allocations: 1.407 MB / 379.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.42, allocations: 53.64 kB / 379.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008435/0.4209, allocations: 0.9326 MB / 380.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.4213, allocations: 418 kB / 380.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.4214, allocations: 28 kB / 380.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4216, allocations: 357.9 kB / 380.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4226, allocations: 0.6364 MB / 381.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4239, allocations: 0.9989 MB / 382.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.4251, allocations: 0.791 MB / 383.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4251, allocations: 0 / 383.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003977/0.4291, allocations: 2.332 MB / 385.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4292, allocations: 8 kB / 385.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4292, allocations: 12 kB / 385.7 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.4303, allocations: 496.2 kB / 386.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4313, allocations: 295.5 kB / 386.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/0.4388, allocations: 6.593 MB / 393.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4403, allocations: 91.91 kB / 393.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4405, allocations: 60.06 kB / 393.2 MB, free: 0.5938 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (148): * Single equations (assignments): 143 * 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%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001306/0.4418, allocations: 0.634 MB / 393.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.4422, allocations: 162 kB / 394 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.4461, allocations: 2.127 MB / 396.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.4462, allocations: 15.98 kB / 396.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4462, allocations: 4 kB / 396.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4462, allocations: 7.984 kB / 396.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/0.454, allocations: 4.55 MB / 400.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.4541, allocations: 4 kB / 400.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.4548, allocations: 187.8 kB / 400.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.4562, allocations: 0.5352 MB / 401.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.339e-05/0.4563, allocations: 39.97 kB / 401.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008633/0.465, allocations: 8.003 MB / 409.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.465, allocations: 7.938 kB / 409.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/0.4704, allocations: 3.089 MB / 412.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.4717, allocations: 371.1 kB / 412.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.4719, allocations: 36 kB / 413 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.4727, allocations: 75.92 kB / 413.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.473, allocations: 100.8 kB / 413.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.4731, allocations: 39.98 kB / 413.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001467/0.4745, allocations: 0.9636 MB / 414.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4746, allocations: 0 / 414.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002035/0.4766, allocations: 456 kB / 414.6 MB, free: 10.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (105): * Single equations (assignments): 98 * 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%) 6,(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.001251/0.4779, allocations: 457.8 kB / 415.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.4818, allocations: 2.248 MB / 417.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4819, allocations: 0 / 417.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.4842, allocations: 1.518 MB / 418.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.4864, allocations: 416.4 kB / 419.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007759/0.4942, allocations: 5.045 MB / 424.3 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.4958, allocations: 1.706 MB / 426 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001445/0.4973, allocations: 325 kB / 426.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.4976, allocations: 107.4 kB / 426.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4976, allocations: 0 / 426.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.04228/0.5399, allocations: 22.77 MB / 449.2 MB, free: 7.469 MB / 382.1 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)