Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.001273/0.001273, 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.001387/0.001387, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 47.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2026, allocations: 53.37 MB / 432.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04863/0.2512, allocations: 39.31 MB / 471.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.2739, allocations: 11.79 MB / 483.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.2801, allocations: 433.6 kB / 483.9 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02805/0.3081, allocations: 11.67 MB / 495.6 MB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.323, allocations: 4.96 MB / 0.4888 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008202/0.3312, allocations: 3.037 MB / 0.4918 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02695/0.3581, allocations: 21.25 MB / 0.5125 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4045/0.7627, allocations: 26.85 MB / 0.5388 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.7751, allocations: 11.27 MB / 0.5498 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.7891, allocations: 12.28 MB / 0.5618 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005455/0.7945, allocations: 3.123 MB / 0.5648 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00756/0.8021, allocations: 3.555 MB / 0.5683 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004552/0.8067, allocations: 6.243 MB / 0.5744 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009606/0.8163, allocations: 9.264 MB / 0.5834 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03577/0.852, allocations: 41.72 MB / 0.6242 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.852, allocations: 2.812 kB / 0.6242 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.852, allocations: 3.938 kB / 0.6242 GB, free: 10.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006795/0.8527, allocations: 0 / 0.6242 GB, free: 10.11 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06071/0.9134, allocations: 24.27 MB / 0.6479 GB, free: 1.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.9135, allocations: 8.031 kB / 0.6479 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08929/1.003, allocations: 11.31 MB / 0.6589 GB, free: 6.695 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0305/1.033, allocations: 13.29 MB / 0.6719 GB, free: 9.855 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/1.035, allocations: 1.362 MB / 0.6732 GB, free: 8.508 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005641/1.04, allocations: 1.791 MB / 0.675 GB, free: 6.734 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06392/1.104, allocations: 30.12 MB / 0.7044 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004381/1.105, allocations: 31.89 kB / 0.7044 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002284/1.107, allocations: 0.7403 MB / 0.7052 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/1.108, allocations: 0.9944 MB / 0.7061 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05299/1.161, allocations: 27.32 MB / 0.7328 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3252/1.486, allocations: 81.85 MB / 0.8127 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02443/1.511, allocations: 18.82 MB / 0.8311 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00854/1.519, allocations: 6.711 MB / 0.8377 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02876/1.548, allocations: 18 MB / 0.8553 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/1.548, allocations: 108.5 kB / 0.8554 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=677): time 1.156e-05/1.548, allocations: 0 / 0.8554 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=685): time 0.07142/1.619, allocations: 37.38 MB / 0.8919 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.619, allocations: 159 kB / 0.892 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007161/1.627, allocations: 6.84 MB / 0.8987 GB, free: 96.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005079/1.627, allocations: 137.7 kB / 0.8988 GB, free: 96.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002672/1.63, allocations: 8.066 MB / 0.9067 GB, free: 88.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.631, allocations: 2.433 MB / 0.9091 GB, free: 86.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/1.633, allocations: 1.867 MB / 0.9109 GB, free: 84.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/1.633, allocations: 309.1 kB / 0.9112 GB, free: 83.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/1.639, allocations: 4.879 MB / 0.916 GB, free: 79.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006839/1.646, allocations: 8.299 MB / 0.9241 GB, free: 69.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.66, allocations: 13.91 MB / 0.9376 GB, free: 53.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/1.66, allocations: 32 kB / 0.9377 GB, free: 53.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02187/1.682, allocations: 15.83 MB / 0.9531 GB, free: 37.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/1.682, allocations: 52 kB / 0.9532 GB, free: 37.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/1.682, allocations: 108 kB / 0.9533 GB, free: 37.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/1.688, allocations: 2.54 MB / 0.9558 GB, free: 35.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007033/1.695, allocations: 2.079 MB / 0.9578 GB, free: 32.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02814/1.723, allocations: 29.42 MB / 0.9865 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006614/1.73, allocations: 0.5074 MB / 0.987 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009666/1.731, allocations: 459.9 kB / 0.9875 GB, free: 1.762 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1062 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,41.0%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2133/1.944, allocations: 6.749 MB / 0.9941 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002154/1.946, allocations: 0.7665 MB / 0.9948 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/1.966, allocations: 12.69 MB / 1.007 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/1.966, allocations: 34.8 kB / 1.007 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.966, allocations: 1.219 kB / 1.007 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003876/1.97, allocations: 1.74 MB / 1.009 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000957/1.971, allocations: 121.1 kB / 1.009 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/1.974, allocations: 387.3 kB / 1.009 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009569/1.975, allocations: 0.6254 MB / 1.01 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01909/1.994, allocations: 12.46 MB / 1.022 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01614/2.011, allocations: 14.57 MB / 1.036 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004626/2.015, allocations: 4.442 MB / 1.041 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005122/2.02, allocations: 4.467 MB / 1.045 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of Backend: time 4.21e-07/2.02, allocations: 0 / 1.045 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01333/2.034, allocations: 9.216 MB / 1.054 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.04364/2.077, allocations: 31.83 MB / 1.085 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.397/2.474, allocations: 164.3 MB / 1.246 GB, free: 199.2 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.731734401997528] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs', 'ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imsQS.rotor.electroMagneticConverter.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w'] 2.4820693129950087 2.491396193 1.636990489 Calling exit ...