Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001253/0.001253, 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.001366/0.001366, 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.393/1.393, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001912/0.001912, allocations: 63.84 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2188, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01684/0.2357, allocations: 14.2 MB / 446.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.245, allocations: 5.238 MB / 451.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.2465, allocations: 83.69 kB / 451.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.2491, allocations: 1.161 MB / 452.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.2524, allocations: 1.433 MB / 454.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.2545, allocations: 1.016 MB / 455.2 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004552/0.2591, allocations: 4.117 MB / 459.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.2615, allocations: 1.809 MB / 461.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2639, allocations: 1.943 MB / 463.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.2669, allocations: 2.328 MB / 465.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006024/0.2675, allocations: 0.5078 MB / 465.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.2688, allocations: 0.7771 MB / 466.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.2698, allocations: 1.153 MB / 467.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.2719, allocations: 2.151 MB / 470 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007059/0.2789, allocations: 6.864 MB / 476.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.279, allocations: 0 / 476.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.279, allocations: 0 / 476.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.167e-05/0.279, allocations: 0 / 476.9 MB, free: 10.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01108/0.2901, allocations: 4.619 MB / 481.5 MB, free: 5.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2902, allocations: 8.031 kB / 481.5 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004397/0.2946, allocations: 0.83 MB / 482.3 MB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/0.2993, allocations: 2.496 MB / 484.8 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.2995, allocations: 238.4 kB / 485 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/0.3, allocations: 323.9 kB / 485.4 MB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007125/0.3071, allocations: 4.292 MB / 489.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/0.3072, allocations: 7.891 kB / 489.7 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.3075, allocations: 132 kB / 489.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.3077, allocations: 154.4 kB / 489.9 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006222/0.3139, allocations: 3.633 MB / 493.6 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.3341, allocations: 13.38 MB / 0.4951 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007768/0.3419, allocations: 7.101 MB / 0.502 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.3449, allocations: 1.527 MB / 0.5035 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007199/0.3521, allocations: 4.343 MB / 0.5077 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.3535, allocations: 0.8689 MB / 0.5086 GB, free: 12.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 2.975e-06/0.3535, allocations: 0 / 0.5086 GB, free: 12.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01295/0.3665, allocations: 6.745 MB / 0.5152 GB, free: 5.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.3666, allocations: 226.9 kB / 0.5154 GB, free: 5.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.3693, allocations: 1.932 MB / 0.5173 GB, free: 3.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/0.3693, allocations: 53.7 kB / 0.5173 GB, free: 3.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.3707, allocations: 1.533 MB / 0.5188 GB, free: 1.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.3711, allocations: 0.4997 MB / 0.5193 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004929/0.3716, allocations: 315.4 kB / 0.5196 GB, free: 1.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3717, allocations: 301.1 kB / 0.5199 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3729, allocations: 0.6793 MB / 0.5206 GB, free: 176 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.3746, allocations: 1.229 MB / 0.5218 GB, free: 14.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.3774, allocations: 1.962 MB / 0.5237 GB, free: 12.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3774, allocations: 4 kB / 0.5237 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004187/0.3816, allocations: 2.516 MB / 0.5261 GB, free: 10 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3816, allocations: 12 kB / 0.5261 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3817, allocations: 19.94 kB / 0.5262 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008459/0.3825, allocations: 338.4 kB / 0.5265 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3839, allocations: 379.4 kB / 0.5269 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/0.3911, allocations: 6.799 MB / 0.5335 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3923, allocations: 95.97 kB / 0.5336 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3924, allocations: 71.98 kB / 0.5337 GB, free: 1.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001539/0.394, allocations: 1.036 MB / 0.5347 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.3943, allocations: 218.6 kB / 0.5349 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1737/0.568, allocations: 2.316 MB / 0.5371 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.568, allocations: 7.969 kB / 0.5371 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.568, allocations: 1.438 kB / 0.5371 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.569, allocations: 445 kB / 0.5376 GB, free: 99.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/0.5695, allocations: 37.44 kB / 0.5376 GB, free: 99.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.5704, allocations: 60.48 kB / 0.5377 GB, free: 99.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.5707, allocations: 122.9 kB / 0.5378 GB, free: 99.43 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004321/0.575, allocations: 2.23 MB / 0.54 GB, free: 98.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003246/0.5782, allocations: 2.568 MB / 0.5425 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008749/0.5791, allocations: 0.6924 MB / 0.5431 GB, free: 97.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.5807, allocations: 1.329 MB / 0.5444 GB, free: 96.74 MB / 446.1 MB Notification: Performance of Backend: time 2.8e-07/0.5807, allocations: 0 / 0.5444 GB, free: 96.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.5852, allocations: 2.195 MB / 0.5466 GB, free: 95.73 MB / 446.1 MB Notification: Performance of SimCode: time 0.007458/0.5926, allocations: 6.657 MB / 0.5531 GB, free: 92.25 MB / 446.1 MB Notification: Performance of Templates: time 0.04292/0.6355, allocations: 35.85 MB / 0.5881 GB, free: 58.82 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.069470595102757] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'mass.s', 'mass.v', 'vfController.x'] 0.6430912953801453 0.651329056 0.370198446 Calling exit ...