Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009979/0.0009984, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009236/0.009236, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.875/1.875, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0007578/0.0007579, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3459, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01175/0.3578, allocations: 8.838 MB / 335.9 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008265/0.3661, allocations: 3.313 MB / 339.2 MB, free: 7.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.3688, allocations: 39.81 kB / 339.2 MB, free: 7.141 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.3719, allocations: 0.6529 MB / 339.9 MB, free: 6.484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.377, allocations: 0.7345 MB / 340.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.3798, allocations: 399.4 kB / 341 MB, free: 5.355 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009954/0.3897, allocations: 2.74 MB / 343.8 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005411/0.3952, allocations: 1.422 MB / 345.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.3994, allocations: 0.8479 MB / 346 MB, free: 292 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/0.4039, allocations: 1.202 MB / 347.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008095/0.4048, allocations: 124 kB / 347.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.4065, allocations: 263.6 kB / 347.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.4077, allocations: 0.6151 MB / 348.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002989/0.4108, allocations: 1.105 MB / 349.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007006/0.4178, allocations: 3.496 MB / 352.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.4178, allocations: 3.938 kB / 352.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.741e-06/0.4179, allocations: 0 / 352.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.418, allocations: 0 / 352.8 MB, free: 9.453 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.009306/0.4273, allocations: 2.262 MB / 355.1 MB, free: 7.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/0.4274, allocations: 8.031 kB / 355.1 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.4289, allocations: 274 kB / 355.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.4331, allocations: 1.311 MB / 356.7 MB, free: 5.488 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.4333, allocations: 135.7 kB / 356.8 MB, free: 5.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/0.4338, allocations: 187.9 kB / 357 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007667/0.4415, allocations: 2.444 MB / 359.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.863e-05/0.4416, allocations: 7.906 kB / 359.4 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.4419, allocations: 72 kB / 359.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.4421, allocations: 95.67 kB / 359.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006819/0.449, allocations: 1.986 MB / 361.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.4747, allocations: 7.433 MB / 369 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/0.4784, allocations: 1.356 MB / 370.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.4814, allocations: 0.8932 MB / 371.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.4817, allocations: 122.1 kB / 371.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.4837, allocations: 0.6875 MB / 372.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 5.38e-06/0.4837, allocations: 0 / 372.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.02946/0.5132, allocations: 7.428 MB / 379.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.5134, allocations: 192.9 kB / 379.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.5169, allocations: 1.422 MB / 381.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.5171, allocations: 45.7 kB / 381.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.5185, allocations: 0.9326 MB / 382.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/0.5192, allocations: 429.9 kB / 382.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.5195, allocations: 121.6 kB / 382.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.5198, allocations: 357.9 kB / 383 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.5218, allocations: 0.6325 MB / 383.6 MB, free: 9.945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.5242, allocations: 1.007 MB / 384.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/0.5286, allocations: 1.712 MB / 386.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.5286, allocations: 4 kB / 386.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.007534/0.5361, allocations: 2.344 MB / 388.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.5362, allocations: 8.25 kB / 388.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.5363, allocations: 12 kB / 388.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/0.5381, allocations: 495.9 kB / 389.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.54, allocations: 295.5 kB / 389.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.552, allocations: 6.601 MB / 396.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.5545, allocations: 95.95 kB / 396.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/0.5549, allocations: 55.98 kB / 396.2 MB, free: 12.59 MB / 334.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 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002458/0.5574, allocations: 0.6302 MB / 396.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008269/0.5582, allocations: 154.1 kB / 397 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/0.5646, allocations: 2.143 MB / 399.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.5647, allocations: 12 kB / 399.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.5647, allocations: 4 kB / 399.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.5647, allocations: 7.984 kB / 399.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.5797, allocations: 4.558 MB / 403.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.5798, allocations: 7.984 kB / 403.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.581, allocations: 195.7 kB / 403.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/0.5835, allocations: 0.539 MB / 404.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.5837, allocations: 31.98 kB / 404.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.5974, allocations: 8.014 MB / 412.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.5975, allocations: 4 kB / 412.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009684/0.6072, allocations: 3.097 MB / 415.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.6089, allocations: 375 kB / 416 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000633/0.6096, allocations: 35.98 kB / 416 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.6113, allocations: 75.88 kB / 416.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/0.6118, allocations: 96.8 kB / 416.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.6119, allocations: 43.92 kB / 416.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002836/0.6148, allocations: 0.9753 MB / 417.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6148, allocations: 0 / 417.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003/0.6178, allocations: 451.9 kB / 417.6 MB, free: 6.301 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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/0.62, allocations: 0.4977 MB / 418.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006145/0.6261, allocations: 2.247 MB / 420.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.6262, allocations: 4.625 kB / 420.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004267/0.6305, allocations: 1.526 MB / 421.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/0.6356, allocations: 400.5 kB / 422.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.6495, allocations: 5.256 MB / 427.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.6522, allocations: 1.709 MB / 429.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002313/0.6545, allocations: 329 kB / 429.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.6553, allocations: 111.4 kB / 429.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.6553, allocations: 0 / 429.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of Templates: time 0.07601/0.7313, allocations: 23.42 MB / 453.1 MB, free: 2.504 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)