Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 209.2 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2098, allocations: 53.36 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01162/0.2214, allocations: 8.456 MB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.2273, allocations: 3.44 MB / 444.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.2279, allocations: 59.62 kB / 444.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.2294, allocations: 0.7185 MB / 445 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.2313, allocations: 0.8934 MB / 445.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.2322, allocations: 451.1 kB / 446.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.2346, allocations: 2.432 MB / 448.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.236, allocations: 1.052 MB / 449.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.2373, allocations: 1.133 MB / 451 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.239, allocations: 1.44 MB / 452.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.2394, allocations: 276 kB / 452.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.2402, allocations: 419.8 kB / 453.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008123/0.241, allocations: 0.8219 MB / 453.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.242, allocations: 1.031 MB / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.2458, allocations: 3.795 MB / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2458, allocations: 0 / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2458, allocations: 0 / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.687e-05/0.2458, allocations: 0 / 458.7 MB, free: 12.17 MB / 366.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.005022/0.2508, allocations: 2.667 MB / 461.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2509, allocations: 8.031 kB / 461.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008011/0.2517, allocations: 295.3 kB / 461.7 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.2543, allocations: 1.325 MB / 463 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2544, allocations: 139.7 kB / 463.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.2547, allocations: 191.9 kB / 463.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.2588, allocations: 2.54 MB / 465.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/0.2589, allocations: 7.953 kB / 465.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.2591, allocations: 76 kB / 466 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.2592, allocations: 95.67 kB / 466.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.2626, allocations: 1.982 MB / 468.1 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.273, allocations: 6.336 MB / 474.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.2748, allocations: 1.062 MB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.2764, allocations: 0.8116 MB / 476.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.2766, allocations: 44.97 kB / 476.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.2778, allocations: 0.787 MB / 477.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.906e-06/0.2778, allocations: 0 / 477.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01572/0.2935, allocations: 6.84 MB / 483.9 MB, free: 2.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2936, allocations: 167.2 kB / 484.1 MB, free: 2.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.2953, allocations: 1.278 MB / 485.4 MB, free: 1.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.2954, allocations: 49.69 kB / 485.4 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008197/0.2962, allocations: 0.9692 MB / 486.4 MB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.2966, allocations: 440.5 kB / 486.8 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/0.297, allocations: 247.5 kB / 487.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2972, allocations: 357.9 kB / 487.4 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.2983, allocations: 0.6364 MB / 488 MB, free: 14.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.2998, allocations: 1.106 MB / 489.2 MB, free: 13.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.3023, allocations: 1.711 MB / 490.9 MB, free: 11.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3023, allocations: 4 kB / 490.9 MB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004016/0.3063, allocations: 2.253 MB / 493.1 MB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.3064, allocations: 12 kB / 493.1 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.3064, allocations: 12 kB / 493.1 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.3076, allocations: 492.2 kB / 493.6 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3088, allocations: 303.5 kB / 493.9 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007504/0.3163, allocations: 6.756 MB / 0.4889 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/0.3173, allocations: 99.97 kB / 0.489 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3174, allocations: 48 kB / 0.4891 GB, free: 0.9297 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.001021/0.3184, allocations: 0.6444 MB / 0.4897 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.3187, allocations: 155 kB / 0.4899 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.3225, allocations: 2.07 MB / 0.4919 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.3225, allocations: 11.91 kB / 0.4919 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3225, allocations: 0 / 0.4919 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/0.3233, allocations: 282.9 kB / 0.4922 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.3235, allocations: 31.94 kB / 0.4922 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.3242, allocations: 79.91 kB / 0.4923 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.3244, allocations: 97.09 kB / 0.4924 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004612/0.329, allocations: 2.16 MB / 0.4945 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003853/0.3329, allocations: 2.585 MB / 0.497 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001036/0.3339, allocations: 0.6777 MB / 0.4977 GB, free: 8.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.3351, allocations: 0.8701 MB / 0.4985 GB, free: 7.199 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.3351, allocations: 0 / 0.4985 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005292/0.3404, allocations: 2.031 MB / 0.5005 GB, free: 5.336 MB / 414.1 MB Notification: Performance of SimCode: time 0.006855/0.3473, allocations: 4.564 MB / 0.5049 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of Templates: time 0.04526/0.3925, allocations: 28.62 MB / 0.5329 GB, free: 4.469 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.199737009999808] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.40050298199639656 0.5749629430000001 0.326803444 Calling exit ...