Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001291/0.001291, allocations: 110.8 kB / 21.19 MB, free: 0.6602 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.001379/0.001379, allocations: 205.2 kB / 24.49 MB, free: 3.957 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2108, allocations: 53.36 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02348/0.2343, allocations: 12.35 MB / 444.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008861/0.2431, allocations: 4.934 MB / 449.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.2441, allocations: 103.4 kB / 449.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.2466, allocations: 1.103 MB / 450.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.2497, allocations: 1.426 MB / 452.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.2518, allocations: 0.9855 MB / 453.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.2562, allocations: 4.125 MB / 457.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.2587, allocations: 1.817 MB / 459.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.2611, allocations: 1.986 MB / 461.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.2639, allocations: 2.316 MB / 463.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006541/0.2646, allocations: 0.5078 MB / 464 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.2659, allocations: 0.7653 MB / 464.8 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.267, allocations: 1.153 MB / 465.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.2688, allocations: 1.7 MB / 467.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006768/0.2755, allocations: 6.89 MB / 474.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2755, allocations: 0 / 474.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2755, allocations: 0 / 474.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.92e-05/0.2756, allocations: 0 / 474.5 MB, free: 12.38 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.01004/0.2856, allocations: 4.536 MB / 479.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2857, allocations: 8.031 kB / 479.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.2901, allocations: 0.8338 MB / 479.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/0.2947, allocations: 2.412 MB / 482.3 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.2949, allocations: 242.4 kB / 482.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.2955, allocations: 319.9 kB / 482.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007336/0.3028, allocations: 4.442 MB / 487.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/0.3029, allocations: 7.953 kB / 487.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.3032, allocations: 132 kB / 487.4 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.3034, allocations: 158.4 kB / 487.6 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006199/0.3096, allocations: 3.629 MB / 491.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.328, allocations: 11.38 MB / 0.4908 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005541/0.3335, allocations: 2.711 MB / 0.4935 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.3364, allocations: 1.522 MB / 0.495 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006675/0.3431, allocations: 3.443 MB / 0.4983 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.3447, allocations: 1.023 MB / 0.4993 GB, free: 7.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.556e-06/0.3447, allocations: 0 / 0.4993 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01272/0.3574, allocations: 6.139 MB / 0.5053 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.3575, allocations: 226.9 kB / 0.5055 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.3598, allocations: 1.726 MB / 0.5072 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.3599, allocations: 53.7 kB / 0.5073 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.3611, allocations: 1.536 MB / 0.5088 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.3616, allocations: 0.5036 MB / 0.5093 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005083/0.3621, allocations: 315.4 kB / 0.5096 GB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3622, allocations: 305.1 kB / 0.5098 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.3634, allocations: 0.6715 MB / 0.5105 GB, free: 11.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.3651, allocations: 1.408 MB / 0.5119 GB, free: 9.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.368, allocations: 1.962 MB / 0.5138 GB, free: 7.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.368, allocations: 4 kB / 0.5138 GB, free: 7.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004171/0.3722, allocations: 2.421 MB / 0.5162 GB, free: 5.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3722, allocations: 12 kB / 0.5162 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.3722, allocations: 19.98 kB / 0.5162 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008663/0.3731, allocations: 335.5 kB / 0.5165 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.3747, allocations: 379.4 kB / 0.5169 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.3817, allocations: 6.351 MB / 0.5231 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3829, allocations: 96.23 kB / 0.5232 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.383, allocations: 72 kB / 0.5232 GB, free: 13.65 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.001512/0.3845, allocations: 1.04 MB / 0.5243 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.3848, allocations: 194.8 kB / 0.5244 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.389, allocations: 2.173 MB / 0.5266 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.389, allocations: 7.969 kB / 0.5266 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.389, allocations: 4 kB / 0.5266 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.3898, allocations: 346.6 kB / 0.5269 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.3901, allocations: 35.92 kB / 0.5269 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008042/0.3909, allocations: 59.95 kB / 0.527 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.3911, allocations: 129 kB / 0.5271 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00501/0.3961, allocations: 2.21 MB / 0.5293 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004091/0.4002, allocations: 2.564 MB / 0.5318 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001112/0.4013, allocations: 0.7012 MB / 0.5325 GB, free: 4.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001672/0.403, allocations: 1.166 MB / 0.5336 GB, free: 2.965 MB / 446.1 MB Notification: Performance of Backend: time 3.3e-07/0.403, allocations: 0 / 0.5336 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005268/0.4083, allocations: 2.144 MB / 0.5357 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of SimCode: time 0.1748/0.583, allocations: 6.503 MB / 0.542 GB, free: 100.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04406/0.6271, allocations: 37.18 MB / 0.5784 GB, free: 69.84 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.347578426997643] 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.6345128920002026 0.643429013 0.365668586 Calling exit ...