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.001763/0.001763, allocations: 100.3 kB / 16.5 MB, free: 6.645 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.001833/0.001834, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.873/1.873, allocations: 205.1 MB / 223.3 MB, free: 12.38 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.001262/0.001263, allocations: 55.92 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01348/0.1431, allocations: 9.365 MB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.1521, allocations: 3.355 MB / 338.7 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.1545, allocations: 39.81 kB / 338.7 MB, free: 8.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.157, allocations: 0.6608 MB / 339.4 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.1606, allocations: 0.7189 MB / 340.1 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.1623, allocations: 399.5 kB / 340.5 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004195/0.1665, allocations: 2.744 MB / 343.2 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.1683, allocations: 1.43 MB / 344.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.1703, allocations: 0.9533 MB / 345.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.1722, allocations: 1.347 MB / 347 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.1726, allocations: 172 kB / 347.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008755/0.1735, allocations: 311.8 kB / 347.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007348/0.1742, allocations: 0.701 MB / 348.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.1756, allocations: 1.162 MB / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.179, allocations: 3.606 MB / 352.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.179, allocations: 0 / 352.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.179, allocations: 4 kB / 352.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-05/0.1791, allocations: 0 / 352.9 MB, free: 9.766 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.006111/0.1852, allocations: 2.671 MB / 355.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1853, allocations: 8.031 kB / 355.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.1861, allocations: 270 kB / 355.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.1887, allocations: 1.299 MB / 357.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1889, allocations: 143.7 kB / 357.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.1892, allocations: 191.9 kB / 357.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.1934, allocations: 2.436 MB / 359.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.1934, allocations: 3.906 kB / 359.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.1936, allocations: 79.98 kB / 360 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.1937, allocations: 95.67 kB / 360.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/0.1971, allocations: 1.986 MB / 362.1 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.2086, allocations: 7.405 MB / 369.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2106, allocations: 1.344 MB / 370.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.2121, allocations: 0.8898 MB / 371.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.2123, allocations: 126 kB / 371.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.2134, allocations: 0.6875 MB / 372.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.406e-06/0.2135, allocations: 0 / 372.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2362/0.4496, allocations: 7.343 MB / 379.9 MB, free: 51.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.4498, allocations: 197.5 kB / 380.1 MB, free: 50.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.4523, allocations: 1.414 MB / 381.5 MB, free: 50.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.4525, allocations: 51.17 kB / 381.5 MB, free: 50.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.4533, allocations: 0.9344 MB / 382.5 MB, free: 49.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.4536, allocations: 420.3 kB / 382.9 MB, free: 49.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.454, allocations: 248.4 kB / 383.1 MB, free: 49.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.4541, allocations: 361 kB / 383.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4552, allocations: 0.6351 MB / 384.1 MB, free: 48.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.4566, allocations: 1.004 MB / 385.1 MB, free: 48.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.4594, allocations: 1.709 MB / 386.8 MB, free: 47.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.4594, allocations: 3.344 kB / 386.8 MB, free: 47.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004372/0.4638, allocations: 2.333 MB / 389.2 MB, free: 46.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4638, allocations: 9.188 kB / 389.2 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.4639, allocations: 9.281 kB / 389.2 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.4651, allocations: 495.8 kB / 389.7 MB, free: 46.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.4663, allocations: 297.2 kB / 390 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.4721, allocations: 6.582 MB / 396.5 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.4736, allocations: 98.98 kB / 396.6 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4737, allocations: 53.58 kB / 396.7 MB, free: 40.91 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.001232/0.475, allocations: 0.6387 MB / 397.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.4753, allocations: 153.8 kB / 397.5 MB, free: 40.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.4787, allocations: 2.143 MB / 399.6 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.4787, allocations: 11.88 kB / 399.6 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4788, allocations: 7.969 kB / 399.6 MB, free: 39.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4788, allocations: 11.38 kB / 399.6 MB, free: 39.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/0.4849, allocations: 4.549 MB / 404.2 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4849, allocations: 7.469 kB / 404.2 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/0.4856, allocations: 191 kB / 404.4 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.487, allocations: 0.5428 MB / 404.9 MB, free: 36.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.4871, allocations: 35.11 kB / 405 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.4926, allocations: 8.001 MB / 413 MB, free: 28.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4927, allocations: 4 kB / 413 MB, free: 28.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.4968, allocations: 3.09 MB / 416.1 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/0.4976, allocations: 375 kB / 416.4 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.4978, allocations: 32 kB / 416.5 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.4985, allocations: 71.8 kB / 416.5 MB, free: 24.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.4988, allocations: 100.8 kB / 416.6 MB, free: 24.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.4988, allocations: 43.36 kB / 416.7 MB, free: 24.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.5001, allocations: 0.9792 MB / 417.6 MB, free: 23.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5001, allocations: 0 / 417.6 MB, free: 23.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001665/0.5017, allocations: 450.6 kB / 418.1 MB, free: 23.29 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.001073/0.5028, allocations: 0.4912 MB / 418.6 MB, free: 22.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004027/0.5069, allocations: 2.248 MB / 420.8 MB, free: 20.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5069, allocations: 0 / 420.8 MB, free: 20.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002835/0.5097, allocations: 1.522 MB / 422.3 MB, free: 18.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/0.5128, allocations: 393.1 kB / 422.7 MB, free: 18.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/0.5221, allocations: 5.124 MB / 427.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.5236, allocations: 1.698 MB / 429.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001701/0.5253, allocations: 321 kB / 429.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.5257, allocations: 111.4 kB / 430 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5258, allocations: 0 / 430 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.05188/0.5776, allocations: 23.77 MB / 453.8 MB, free: 3.395 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)