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.001447/0.001447, allocations: 104.2 kB / 16.62 MB, free: 6.812 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.001684/0.001684, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.84/1.84, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001381/0.001381, allocations: 59.91 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01294/0.149, allocations: 9.357 MB / 335.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007694/0.1568, allocations: 3.348 MB / 338.9 MB, free: 8.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.1583, allocations: 35.81 kB / 338.9 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.1605, allocations: 0.6647 MB / 339.6 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1631, allocations: 0.7189 MB / 340.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1644, allocations: 403.5 kB / 340.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003357/0.1678, allocations: 2.412 MB / 343.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.1701, allocations: 1.743 MB / 344.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.1724, allocations: 1.094 MB / 345.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.1747, allocations: 1.409 MB / 347.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.1751, allocations: 280 kB / 347.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.1761, allocations: 415.8 kB / 348 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009253/0.1771, allocations: 0.8064 MB / 348.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.1788, allocations: 1.279 MB / 350.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004718/0.1836, allocations: 3.696 MB / 353.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1836, allocations: 0 / 353.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1836, allocations: 0 / 353.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.05e-05/0.1837, allocations: 0 / 353.8 MB, free: 8.996 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.006705/0.1904, allocations: 2.667 MB / 356.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/0.1905, allocations: 15.89 kB / 356.5 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.1915, allocations: 266 kB / 356.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.1942, allocations: 1.299 MB / 358 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.1944, allocations: 139.7 kB / 358.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.1947, allocations: 187.9 kB / 358.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/0.1996, allocations: 2.44 MB / 360.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.1997, allocations: 7.906 kB / 360.8 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.1999, allocations: 76 kB / 360.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.2, allocations: 95.67 kB / 361 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.2036, allocations: 1.982 MB / 362.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.2165, allocations: 7.397 MB / 370.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.2185, allocations: 1.355 MB / 371.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.22, allocations: 0.891 MB / 372.6 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.2203, allocations: 114.1 kB / 372.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.2213, allocations: 0.6836 MB / 373.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 4.899e-06/0.2213, allocations: 3.938 kB / 373.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.3131/0.5345, allocations: 7.361 MB / 380.7 MB, free: 51.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.5347, allocations: 194.2 kB / 380.9 MB, free: 50.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.5378, allocations: 1.414 MB / 382.4 MB, free: 50.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.5379, allocations: 47.2 kB / 382.4 MB, free: 50.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.539, allocations: 0.9345 MB / 383.3 MB, free: 49.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/0.5395, allocations: 419.7 kB / 383.7 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000586/0.5401, allocations: 244.7 kB / 384 MB, free: 49.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5403, allocations: 367.2 kB / 384.3 MB, free: 48.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.5416, allocations: 0.6351 MB / 385 MB, free: 48.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.5432, allocations: 0.9984 MB / 386 MB, free: 47.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.546, allocations: 1.71 MB / 387.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.546, allocations: 2.594 kB / 387.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004968/0.551, allocations: 2.333 MB / 390 MB, free: 45.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.551, allocations: 9.969 kB / 390 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.5511, allocations: 9.688 kB / 390 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.5525, allocations: 0.4903 MB / 390.5 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5537, allocations: 296.6 kB / 390.8 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.5605, allocations: 7.182 MB / 398 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.5623, allocations: 97.45 kB / 398.1 MB, free: 40.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5624, allocations: 57.09 kB / 398.2 MB, free: 40.16 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.001593/0.564, allocations: 0.6309 MB / 398.8 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/0.5646, allocations: 160.2 kB / 398.9 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/0.568, allocations: 2.14 MB / 401.1 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5681, allocations: 11.56 kB / 401.1 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.5681, allocations: 7.75 kB / 401.1 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.5681, allocations: 7.641 kB / 401.1 MB, free: 38.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.5747, allocations: 4.563 MB / 405.7 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5747, allocations: 3.906 kB / 405.7 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.5755, allocations: 183.8 kB / 405.9 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.5768, allocations: 0.5465 MB / 406.4 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.5769, allocations: 35.97 kB / 406.4 MB, free: 35.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007465/0.5844, allocations: 8.722 MB / 415.2 MB, free: 26.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5844, allocations: 4 kB / 415.2 MB, free: 26.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005035/0.5895, allocations: 3.088 MB / 418.2 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.5907, allocations: 371 kB / 418.6 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.591, allocations: 35.98 kB / 418.6 MB, free: 22.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/0.5918, allocations: 75.92 kB / 418.7 MB, free: 22.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/0.5921, allocations: 96.47 kB / 418.8 MB, free: 22.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.5922, allocations: 39.98 kB / 418.9 MB, free: 22.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.5935, allocations: 0.9792 MB / 419.8 MB, free: 21.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5935, allocations: 4 kB / 419.8 MB, free: 21.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002241/0.5958, allocations: 457 kB / 420.3 MB, free: 21.07 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.00154/0.5973, allocations: 497 kB / 420.8 MB, free: 20.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.602, allocations: 2.671 MB / 423.4 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.602, allocations: 12 kB / 423.4 MB, free: 17.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.604, allocations: 1.526 MB / 425 MB, free: 16.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.6064, allocations: 420.9 kB / 425.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.6139, allocations: 5.11 MB / 430.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.6151, allocations: 1.704 MB / 432.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001275/0.6164, allocations: 317 kB / 432.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6167, allocations: 111.4 kB / 432.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6167, allocations: 0 / 432.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of Templates: time 0.05012/0.6668, allocations: 24.7 MB / 457.3 MB, free: 15.83 MB / 350.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)