Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.403/1.403, allocations: 230.4 MB / 258.1 MB, free: 8.164 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2172, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01206/0.2293, allocations: 9.61 MB / 441.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.235, allocations: 3.658 MB / 445.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.2355, allocations: 51.81 kB / 445.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.2371, allocations: 0.773 MB / 446.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.2388, allocations: 0.8817 MB / 447 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.2397, allocations: 447.1 kB / 447.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.2422, allocations: 2.436 MB / 449.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.2436, allocations: 1.052 MB / 451 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.2449, allocations: 1.106 MB / 452.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.2467, allocations: 1.436 MB / 453.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.2471, allocations: 276 kB / 453.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.2478, allocations: 419.8 kB / 454.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008313/0.2486, allocations: 0.818 MB / 455 MB, free: 316 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.2499, allocations: 1.283 MB / 456.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.2538, allocations: 3.768 MB / 460.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2538, allocations: 0 / 460.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2538, allocations: 0 / 460.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.054e-05/0.2539, allocations: 0 / 460.1 MB, free: 11.24 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.005374/0.2592, allocations: 2.75 MB / 462.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2593, allocations: 11.97 kB / 462.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/0.2601, allocations: 291.3 kB / 463.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.2627, allocations: 1.401 MB / 464.5 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.2628, allocations: 135.7 kB / 464.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.2631, allocations: 195.9 kB / 464.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00398/0.2671, allocations: 2.44 MB / 467.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.2671, allocations: 11.89 kB / 467.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.2673, allocations: 80 kB / 467.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.2674, allocations: 99.66 kB / 467.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.2709, allocations: 1.986 MB / 469.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.2823, allocations: 7.322 MB / 476.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2843, allocations: 1.298 MB / 478.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.2859, allocations: 0.8251 MB / 478.9 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.2861, allocations: 118.1 kB / 479 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.2872, allocations: 0.6906 MB / 479.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.635e-06/0.2872, allocations: 0 / 479.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01683/0.304, allocations: 7.348 MB / 487 MB, free: 15.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3042, allocations: 175.2 kB / 487.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3062, allocations: 1.431 MB / 488.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/0.3063, allocations: 45.7 kB / 488.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3073, allocations: 0.9584 MB / 489.6 MB, free: 12.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/0.3078, allocations: 448.3 kB / 490.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.3082, allocations: 247.5 kB / 490.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.3085, allocations: 353.9 kB / 490.7 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3096, allocations: 0.6403 MB / 491.3 MB, free: 11.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.311, allocations: 1.001 MB / 492.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.3137, allocations: 1.707 MB / 494 MB, free: 8.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3137, allocations: 4 kB / 494 MB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004118/0.3178, allocations: 2.344 MB / 496.4 MB, free: 5.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3178, allocations: 8 kB / 496.4 MB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3178, allocations: 12.25 kB / 496.4 MB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.319, allocations: 0.4903 MB / 496.9 MB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3202, allocations: 291.5 kB / 497.2 MB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/0.3283, allocations: 7.195 MB / 0.4925 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3294, allocations: 103.7 kB / 0.4926 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.3295, allocations: 52 kB / 0.4927 GB, free: 13.31 MB / 414.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.001031/0.3305, allocations: 0.6331 MB / 0.4933 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.3308, allocations: 163 kB / 0.4935 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.3348, allocations: 2.143 MB / 0.4956 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.3348, allocations: 7.969 kB / 0.4956 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3348, allocations: 0 / 0.4956 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.3356, allocations: 375.9 kB / 0.4959 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.3358, allocations: 35.92 kB / 0.496 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.3366, allocations: 79.91 kB / 0.496 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3368, allocations: 92.83 kB / 0.4961 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00484/0.3416, allocations: 2.169 MB / 0.4982 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003989/0.3456, allocations: 2.579 MB / 0.5008 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001151/0.3467, allocations: 0.6714 MB / 0.5014 GB, free: 4.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.3482, allocations: 0.9835 MB / 0.5024 GB, free: 3.285 MB / 414.1 MB Notification: Performance of Backend: time 1.81e-07/0.3482, allocations: 0 / 0.5024 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005067/0.3533, allocations: 2.141 MB / 0.5045 GB, free: 1.254 MB / 414.1 MB Notification: Performance of SimCode: time 0.007037/0.3603, allocations: 4.673 MB / 0.509 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Templates: time 0.04644/0.4067, allocations: 27.31 MB / 0.5357 GB, free: 1.457 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.997328490950167] 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.552535988856107 0.561873714 0.30579066800000004 Calling exit ...