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.001315/0.001316, allocations: 91.8 kB / 16.65 MB, free: 6.59 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.001714/0.001715, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.002/2.002, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.00052/0.00052, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01156/0.1439, allocations: 8.843 MB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008718/0.1527, allocations: 3.313 MB / 340.5 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1552, allocations: 35.81 kB / 340.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.1584, allocations: 0.653 MB / 341.2 MB, free: 6.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.1623, allocations: 0.7267 MB / 341.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1641, allocations: 403.5 kB / 342.3 MB, free: 5.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005123/0.1692, allocations: 2.74 MB / 345 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.172, allocations: 1.414 MB / 346.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.1742, allocations: 0.8479 MB / 347.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.1769, allocations: 1.198 MB / 348.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004919/0.1774, allocations: 124 kB / 348.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1785, allocations: 271.7 kB / 348.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.1793, allocations: 0.619 MB / 349.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.1807, allocations: 1.105 MB / 350.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004731/0.1854, allocations: 3.492 MB / 354.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1855, allocations: 0 / 354.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1855, allocations: 0 / 354.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.1856, allocations: 0 / 354.1 MB, free: 9.824 MB / 302.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.006215/0.1918, allocations: 2.274 MB / 356.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.1919, allocations: 12.03 kB / 356.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.1927, allocations: 269.9 kB / 356.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.1952, allocations: 1.303 MB / 358 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.1953, allocations: 135.7 kB / 358.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.1956, allocations: 188 kB / 358.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.2003, allocations: 2.436 MB / 360.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.2004, allocations: 15.91 kB / 360.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.2006, allocations: 72 kB / 360.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.2007, allocations: 95.67 kB / 360.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.2045, allocations: 1.994 MB / 362.9 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.2181, allocations: 7.425 MB / 370.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.2202, allocations: 1.36 MB / 371.7 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.2218, allocations: 0.882 MB / 372.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.2221, allocations: 126.1 kB / 372.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.2233, allocations: 0.6875 MB / 373.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.126e-06/0.2233, allocations: 4 kB / 373.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2561/0.4794, allocations: 7.424 MB / 380.8 MB, free: 50.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4796, allocations: 198.2 kB / 381 MB, free: 50.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.4831, allocations: 1.417 MB / 382.4 MB, free: 50.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.4834, allocations: 53.3 kB / 382.4 MB, free: 50.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.4847, allocations: 0.9367 MB / 383.4 MB, free: 49.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/0.4853, allocations: 419.5 kB / 383.8 MB, free: 49.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.4856, allocations: 113.9 kB / 383.9 MB, free: 49.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4858, allocations: 367.1 kB / 384.3 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.4873, allocations: 0.6323 MB / 384.9 MB, free: 48.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.4891, allocations: 1.009 MB / 385.9 MB, free: 48.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.4922, allocations: 1.712 MB / 387.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.4922, allocations: 2.844 kB / 387.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005382/0.4976, allocations: 2.341 MB / 390 MB, free: 46.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.4977, allocations: 8.406 kB / 390 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.4977, allocations: 10.28 kB / 390 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.499, allocations: 490 kB / 390.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.5003, allocations: 307.6 kB / 390.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006646/0.507, allocations: 6.583 MB / 397.3 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.5089, allocations: 105 kB / 397.4 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.509, allocations: 53.25 kB / 397.5 MB, free: 41 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 ($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.001534/0.5106, allocations: 0.6261 MB / 398.1 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/0.511, allocations: 160.1 kB / 398.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.5148, allocations: 2.149 MB / 400.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.5149, allocations: 11.78 kB / 400.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.5149, allocations: 7.906 kB / 400.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.5149, allocations: 3.703 kB / 400.5 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007967/0.5229, allocations: 4.556 MB / 405 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5229, allocations: 7.688 kB / 405 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.5237, allocations: 194.4 kB / 405.2 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.525, allocations: 0.5333 MB / 405.7 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.449e-05/0.5252, allocations: 31.55 kB / 405.8 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006587/0.5318, allocations: 8.022 MB / 413.8 MB, free: 28.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5318, allocations: 7.984 kB / 413.8 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004605/0.5364, allocations: 3.094 MB / 416.9 MB, free: 24.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009535/0.5374, allocations: 375.1 kB / 417.3 MB, free: 24.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.5377, allocations: 36.86 kB / 417.3 MB, free: 24.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.5385, allocations: 75.92 kB / 417.4 MB, free: 24.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.5388, allocations: 100.8 kB / 417.5 MB, free: 24.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.5389, allocations: 35.98 kB / 417.5 MB, free: 24.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.5404, allocations: 0.9792 MB / 418.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5404, allocations: 0 / 418.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002193/0.5426, allocations: 446.8 kB / 418.9 MB, free: 22.95 MB / 318.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.001524/0.5442, allocations: 0.4908 MB / 419.4 MB, free: 22.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003476/0.5476, allocations: 2.258 MB / 421.7 MB, free: 20.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5477, allocations: 0 / 421.7 MB, free: 20.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.5497, allocations: 1.531 MB / 423.2 MB, free: 18.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/0.5529, allocations: 400.5 kB / 423.6 MB, free: 18.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009059/0.562, allocations: 5.268 MB / 428.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.5636, allocations: 1.706 MB / 430.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.565, allocations: 317 kB / 430.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.5654, allocations: 107.4 kB / 431 MB, free: 10.66 MB / 318.1 MB Notification: Performance of SimCode: time 2.384e-06/0.5654, allocations: 4 kB / 431 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Templates: time 0.04832/0.6137, allocations: 23.43 MB / 454.4 MB, free: 3.211 MB / 334.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)