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.001452/0.001452, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00198/0.00198, allocations: 190.4 kB / 16.25 MB, free: 6.617 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.116/2.116, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001281/0.001281, allocations: 55.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5037, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01973/0.5235, allocations: 9.365 MB / 334.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.5356, allocations: 3.336 MB / 337.6 MB, free: 7.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004326/0.54, allocations: 39.81 kB / 337.6 MB, free: 7.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.5443, allocations: 0.6647 MB / 338.3 MB, free: 6.652 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005775/0.5501, allocations: 0.7345 MB / 339 MB, free: 5.914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.5527, allocations: 395.5 kB / 339.4 MB, free: 5.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006136/0.5588, allocations: 2.401 MB / 341.8 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/0.5636, allocations: 1.739 MB / 343.5 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.5675, allocations: 1.098 MB / 344.6 MB, free: 236 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.5715, allocations: 1.417 MB / 346 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.5728, allocations: 280 kB / 346.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.5755, allocations: 411.8 kB / 346.7 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.5776, allocations: 0.8025 MB / 347.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004602/0.5822, allocations: 1.275 MB / 348.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007686/0.59, allocations: 3.696 MB / 352.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.59, allocations: 0 / 352.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.59, allocations: 4 kB / 352.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.5902, allocations: 0 / 352.5 MB, free: 8.336 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.009371/0.5996, allocations: 2.667 MB / 355.2 MB, free: 5.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.5997, allocations: 11.89 kB / 355.2 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.6008, allocations: 270 kB / 355.4 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.6035, allocations: 1.291 MB / 356.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.6036, allocations: 143.7 kB / 356.9 MB, free: 3.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.604, allocations: 195.8 kB / 357.1 MB, free: 3.652 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/0.609, allocations: 2.432 MB / 359.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/0.6091, allocations: 11.88 kB / 359.5 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.6093, allocations: 72 kB / 359.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.6094, allocations: 95.67 kB / 359.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.6133, allocations: 1.982 MB / 361.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.6287, allocations: 7.413 MB / 369.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.6309, allocations: 1.339 MB / 370.4 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.6328, allocations: 0.9027 MB / 371.3 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.6331, allocations: 118.1 kB / 371.4 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.6344, allocations: 0.6836 MB / 372.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.807e-06/0.6344, allocations: 0 / 372.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.019/0.6534, allocations: 7.358 MB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.6537, allocations: 200.9 kB / 379.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.6564, allocations: 1.418 MB / 381.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.6566, allocations: 49.7 kB / 381.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.6578, allocations: 0.9249 MB / 382 MB, free: 10.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006084/0.6584, allocations: 425.9 kB / 382.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005085/0.6589, allocations: 247.4 kB / 382.7 MB, free: 9.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.6592, allocations: 357.9 kB / 383.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6604, allocations: 0.6363 MB / 383.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.662, allocations: 1.007 MB / 384.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.6649, allocations: 1.704 MB / 386.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.6649, allocations: 4 kB / 386.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005381/0.6703, allocations: 2.34 MB / 388.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.6703, allocations: 8 kB / 388.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.6704, allocations: 12.25 kB / 388.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.6717, allocations: 499.9 kB / 389.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.673, allocations: 299.5 kB / 389.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008353/0.6813, allocations: 7.167 MB / 396.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.6836, allocations: 99.91 kB / 396.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6838, allocations: 51.98 kB / 396.9 MB, free: 10.49 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.001928/0.6857, allocations: 0.634 MB / 397.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007161/0.6864, allocations: 158.1 kB / 397.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.691, allocations: 2.143 MB / 399.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.6911, allocations: 15.94 kB / 399.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.6911, allocations: 12 kB / 399.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.6911, allocations: 3.984 kB / 399.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.7016, allocations: 4.554 MB / 404.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.7017, allocations: 8.094 kB / 404.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.7026, allocations: 195.7 kB / 404.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.7042, allocations: 0.5274 MB / 405.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.7043, allocations: 35.98 kB / 405.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.7177, allocations: 8.733 MB / 413.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7178, allocations: 7.969 kB / 413.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.7247, allocations: 3.097 MB / 417 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.7261, allocations: 367.1 kB / 417.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.7264, allocations: 35.98 kB / 417.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008828/0.7273, allocations: 67.94 kB / 417.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/0.7276, allocations: 100.7 kB / 417.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.7277, allocations: 39.98 kB / 417.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002308/0.73, allocations: 0.9792 MB / 418.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.73, allocations: 3.938 kB / 418.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002905/0.733, allocations: 448 kB / 419 MB, free: 3.457 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.001608/0.7346, allocations: 498.5 kB / 419.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006144/0.7407, allocations: 2.676 MB / 422.2 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.7408, allocations: 4 kB / 422.2 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.7436, allocations: 1.523 MB / 423.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.7464, allocations: 424.3 kB / 424.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009714/0.7561, allocations: 5.117 MB / 429.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.7581, allocations: 1.706 MB / 430.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001501/0.7596, allocations: 321 kB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.7599, allocations: 107.4 kB / 431.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.7599, allocations: 0 / 431.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of Templates: time 0.3498/1.11, allocations: 24.69 MB / 456 MB, free: 112.9 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)