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.001164/0.001164, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001255/0.001256, allocations: 172.7 kB / 15.95 MB, free: 208 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.755/1.755, allocations: 205.4 MB / 222.1 MB, free: 5.73 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.0005324/0.0005327, allocations: 8 kB / 278.9 MB, free: 12.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3433, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01163/0.355, allocations: 8.329 MB / 334.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009336/0.3644, allocations: 3.184 MB / 338 MB, free: 7.977 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.367, allocations: 39.81 kB / 338 MB, free: 7.938 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.3697, allocations: 0.5984 MB / 338.6 MB, free: 7.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.3732, allocations: 0.6877 MB / 339.3 MB, free: 6.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3748, allocations: 311.5 kB / 339.6 MB, free: 6.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004258/0.3791, allocations: 2.475 MB / 342.1 MB, free: 3.852 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.3821, allocations: 1.22 MB / 343.3 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.3842, allocations: 0.8443 MB / 344.2 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.3865, allocations: 1.148 MB / 345.3 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006225/0.3872, allocations: 128 kB / 345.4 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.3885, allocations: 231.9 kB / 345.7 MB, free: 252 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.3896, allocations: 0.6113 MB / 346.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.3912, allocations: 460.5 kB / 346.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.3955, allocations: 2.992 MB / 349.7 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3955, allocations: 4 kB / 349.7 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3955, allocations: 0 / 349.7 MB, free: 12.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001881/0.3957, allocations: 0 / 349.7 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.006256/0.402, allocations: 2.281 MB / 352 MB, free: 9.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.4021, allocations: 12.02 kB / 352 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.4034, allocations: 261.1 kB / 352.3 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/0.4075, allocations: 1.264 MB / 353.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.4077, allocations: 143.7 kB / 353.7 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008452/0.4086, allocations: 188 kB / 353.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006604/0.4152, allocations: 2.416 MB / 356.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/0.4153, allocations: 19.84 kB / 356.3 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.4155, allocations: 75.98 kB / 356.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.4157, allocations: 95.67 kB / 356.5 MB, free: 5.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.42, allocations: 1.978 MB / 358.4 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.4354, allocations: 7.421 MB / 365.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.4379, allocations: 1.356 MB / 367.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.4397, allocations: 0.8971 MB / 368.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.44, allocations: 126 kB / 368.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.4413, allocations: 0.6836 MB / 368.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.888e-06/0.4414, allocations: 0 / 368.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01748/0.4589, allocations: 7.401 MB / 376.3 MB, free: 0.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.4591, allocations: 196.9 kB / 376.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.4619, allocations: 1.411 MB / 377.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.4621, allocations: 45.7 kB / 378 MB, free: 15.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009603/0.463, allocations: 0.9327 MB / 378.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.4635, allocations: 418 kB / 379.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.4636, allocations: 28 kB / 379.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4638, allocations: 361.9 kB / 379.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4649, allocations: 0.6246 MB / 380.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4663, allocations: 1.003 MB / 381.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.4676, allocations: 0.7832 MB / 382.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.4677, allocations: 4 kB / 382.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004264/0.4719, allocations: 2.332 MB / 384.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.472, allocations: 8 kB / 384.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.472, allocations: 8 kB / 384.4 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.4732, allocations: 0.4921 MB / 384.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4744, allocations: 295.5 kB / 385.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/0.4818, allocations: 6.578 MB / 391.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4835, allocations: 95.91 kB / 391.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/0.4838, allocations: 59.98 kB / 392 MB, free: 0.6094 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.00154/0.4853, allocations: 0.6373 MB / 392.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.4858, allocations: 157.8 kB / 392.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/0.4899, allocations: 2.135 MB / 394.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.4899, allocations: 15.98 kB / 394.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.4899, allocations: 4 kB / 394.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.49, allocations: 3.984 kB / 394.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009448/0.4994, allocations: 4.554 MB / 399.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4995, allocations: 4 kB / 399.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.5003, allocations: 195.7 kB / 399.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.5018, allocations: 0.5391 MB / 400.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.5019, allocations: 39.98 kB / 400.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008584/0.5105, allocations: 7.999 MB / 408.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.5106, allocations: 4 kB / 408.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/0.5161, allocations: 3.097 MB / 411.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5172, allocations: 367.1 kB / 411.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.5177, allocations: 35.98 kB / 411.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.5188, allocations: 75.88 kB / 411.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.5191, allocations: 100.8 kB / 411.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/0.5192, allocations: 39.98 kB / 411.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.5211, allocations: 0.9675 MB / 412.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5211, allocations: 0 / 412.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002172/0.5233, allocations: 448 kB / 413.3 MB, free: 10.36 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.001269/0.5246, allocations: 470.7 kB / 413.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004207/0.5288, allocations: 2.244 MB / 416.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.5288, allocations: 7.938 kB / 416.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.5313, allocations: 1.511 MB / 417.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.5339, allocations: 392.6 kB / 418 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/0.543, allocations: 5.056 MB / 423 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.5454, allocations: 1.702 MB / 424.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00147/0.5469, allocations: 333 kB / 425 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/0.5473, allocations: 111.4 kB / 425.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.5474, allocations: 0 / 425.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.04675/0.5941, allocations: 22.77 MB / 447.9 MB, free: 7.465 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)