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.001198/0.001198, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00862/0.00862, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0005188/0.0005189, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3131, allocations: 47.58 MB / 327 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01339/0.3266, allocations: 8.85 MB / 335.9 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.338, allocations: 3.313 MB / 339.2 MB, free: 7.152 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003512/0.3416, allocations: 39.81 kB / 339.2 MB, free: 7.113 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.3456, allocations: 0.6529 MB / 339.9 MB, free: 6.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005667/0.3514, allocations: 0.7229 MB / 340.6 MB, free: 5.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.3534, allocations: 403.4 kB / 341 MB, free: 5.336 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005361/0.3588, allocations: 2.752 MB / 343.8 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.3615, allocations: 1.406 MB / 345.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.3637, allocations: 0.8518 MB / 346 MB, free: 272 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.3662, allocations: 1.198 MB / 347.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.3667, allocations: 124 kB / 347.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.3678, allocations: 263.8 kB / 347.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000796/0.3686, allocations: 0.6228 MB / 348.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.3703, allocations: 1.105 MB / 349.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.3746, allocations: 3.499 MB / 352.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3746, allocations: 0 / 352.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3746, allocations: 0 / 352.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.3748, allocations: 0 / 352.8 MB, free: 9.43 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.005924/0.3807, allocations: 2.27 MB / 355.1 MB, free: 7.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3808, allocations: 8.031 kB / 355.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.3819, allocations: 266 kB / 355.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.3845, allocations: 1.299 MB / 356.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3847, allocations: 135.7 kB / 356.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/0.385, allocations: 195.9 kB / 357 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/0.39, allocations: 2.444 MB / 359.4 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.3901, allocations: 3.906 kB / 359.4 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.3903, allocations: 72 kB / 359.5 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.3904, allocations: 103.7 kB / 359.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.3944, allocations: 1.986 MB / 361.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.4091, allocations: 7.429 MB / 369 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.4113, allocations: 1.356 MB / 370.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.413, allocations: 0.8901 MB / 371.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.4133, allocations: 126.1 kB / 371.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.4145, allocations: 0.6836 MB / 372.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.857e-06/0.4145, allocations: 0 / 372.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01885/0.4334, allocations: 7.432 MB / 379.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.4336, allocations: 196.9 kB / 379.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.4362, allocations: 1.418 MB / 381.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.4365, allocations: 49.7 kB / 381.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4376, allocations: 0.9287 MB / 382.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.4381, allocations: 433.9 kB / 382.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.4383, allocations: 113.6 kB / 382.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4386, allocations: 361.9 kB / 383 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.4398, allocations: 0.6403 MB / 383.6 MB, free: 9.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4413, allocations: 1.003 MB / 384.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.444, allocations: 1.708 MB / 386.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4441, allocations: 4 kB / 386.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004471/0.4485, allocations: 2.34 MB / 388.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.4486, allocations: 12 kB / 388.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.4486, allocations: 8 kB / 388.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.4499, allocations: 0.4923 MB / 389.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4511, allocations: 295.6 kB / 389.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/0.4582, allocations: 6.585 MB / 396.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.4598, allocations: 100 kB / 396.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.46, allocations: 59.97 kB / 396.2 MB, free: 12.57 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.001375/0.4613, allocations: 0.63 MB / 396.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.4618, allocations: 154.1 kB / 397 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.4656, allocations: 2.143 MB / 399.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.4657, allocations: 20 kB / 399.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.4657, allocations: 4 kB / 399.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4657, allocations: 7.969 kB / 399.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008056/0.4738, allocations: 4.558 MB / 403.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.4738, allocations: 8.422 kB / 403.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.4746, allocations: 199.7 kB / 403.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.4761, allocations: 0.5231 MB / 404.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4763, allocations: 35.98 kB / 404.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008919/0.4852, allocations: 8.03 MB / 412.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.4852, allocations: 4 kB / 412.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.4913, allocations: 3.085 MB / 415.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4926, allocations: 379 kB / 416 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.4929, allocations: 31.98 kB / 416 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/0.4938, allocations: 87.86 kB / 416.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.4942, allocations: 88.81 kB / 416.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/0.4943, allocations: 43.98 kB / 416.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.4963, allocations: 0.9792 MB / 417.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4963, allocations: 0 / 417.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002781/0.4991, allocations: 447.9 kB / 417.6 MB, free: 6.273 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.001407/0.5005, allocations: 0.4939 MB / 418.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004881/0.5054, allocations: 2.25 MB / 420.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.5055, allocations: 0 / 420.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.5081, allocations: 1.528 MB / 421.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.5116, allocations: 396.5 kB / 422.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009023/0.5206, allocations: 5.267 MB / 427.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.5223, allocations: 1.702 MB / 429.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.5236, allocations: 325 kB / 429.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.5239, allocations: 111.4 kB / 429.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5239, allocations: 0 / 429.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.049/0.573, allocations: 23.42 MB / 453.1 MB, free: 2.484 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (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)