Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001179/0.001179, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009858/0.0009858, allocations: 59.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2237, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01018/0.2339, allocations: 9.461 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.2391, allocations: 3.46 MB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.2396, allocations: 47.81 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.2411, allocations: 0.7613 MB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.2428, allocations: 0.8312 MB / 416 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.2437, allocations: 479 kB / 416.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.2458, allocations: 2.405 MB / 418.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.2477, allocations: 1.77 MB / 420.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2488, allocations: 1.11 MB / 421.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.2504, allocations: 1.382 MB / 423.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.2508, allocations: 280 kB / 423.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.2515, allocations: 407.8 kB / 423.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007242/0.2523, allocations: 0.8064 MB / 424.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2534, allocations: 1.279 MB / 425.9 MB, free: 276 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.2566, allocations: 3.73 MB / 429.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2566, allocations: 0 / 429.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2566, allocations: 0 / 429.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.2566, allocations: 0 / 429.6 MB, free: 12.53 MB / 350.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.004595/0.2612, allocations: 2.671 MB / 432.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2613, allocations: 16.03 kB / 432.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.2619, allocations: 273.9 kB / 432.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.2642, allocations: 1.377 MB / 433.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.2643, allocations: 139.7 kB / 434.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.2646, allocations: 195.9 kB / 434.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003735/0.2683, allocations: 2.436 MB / 436.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.2684, allocations: 11.91 kB / 436.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.2685, allocations: 72 kB / 436.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.2687, allocations: 99.61 kB / 436.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.2718, allocations: 1.986 MB / 438.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.282, allocations: 7.319 MB / 446.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2839, allocations: 1.345 MB / 447.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.2854, allocations: 0.8854 MB / 448.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.2856, allocations: 126.1 kB / 448.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.2867, allocations: 0.6788 MB / 449.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.705e-06/0.2867, allocations: 0 / 449.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01533/0.302, allocations: 7.34 MB / 456.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.274e-05/0.3021, allocations: 171.2 kB / 456.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.304, allocations: 1.411 MB / 458.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.3041, allocations: 45.7 kB / 458.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.3048, allocations: 0.9326 MB / 459.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.3052, allocations: 433.9 kB / 459.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.3056, allocations: 251.4 kB / 459.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3057, allocations: 353.9 kB / 460.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3067, allocations: 0.6364 MB / 460.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.308, allocations: 0.9975 MB / 461.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.3103, allocations: 1.711 MB / 463.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3103, allocations: 4 kB / 463.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003695/0.314, allocations: 2.34 MB / 465.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3141, allocations: 8 kB / 465.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.3141, allocations: 12 kB / 465.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3152, allocations: 492.2 kB / 466.3 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.3163, allocations: 299.5 kB / 466.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.3232, allocations: 7.17 MB / 473.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3242, allocations: 111.8 kB / 473.9 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.3243, allocations: 48 kB / 473.9 MB, free: 14.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0009307/0.3253, allocations: 0.6301 MB / 474.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.3255, allocations: 158.1 kB / 474.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.3291, allocations: 2.154 MB / 476.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3291, allocations: 3.984 kB / 476.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3291, allocations: 0 / 476.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.3298, allocations: 379 kB / 477.3 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.3301, allocations: 31.98 kB / 477.3 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/0.3309, allocations: 71.92 kB / 477.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.3311, allocations: 92.84 kB / 477.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004484/0.3356, allocations: 2.164 MB / 479.6 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003645/0.3393, allocations: 2.574 MB / 482.2 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009711/0.3403, allocations: 0.7105 MB / 482.9 MB, free: 5.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001439/0.3417, allocations: 0.9792 MB / 483.9 MB, free: 4.648 MB / 398.1 MB Notification: Performance of Backend: time 4.1e-07/0.3417, allocations: 0 / 483.9 MB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004542/0.3463, allocations: 2.195 MB / 486.1 MB, free: 2.555 MB / 398.1 MB Notification: Performance of SimCode: time 0.007021/0.3533, allocations: 4.538 MB / 490.6 MB, free: 13.96 MB / 414.1 MB Notification: Performance of Templates: time 0.04228/0.3956, allocations: 26.24 MB / 0.5047 GB, free: 3.969 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1)