Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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: 114.5 kB / 21.18 MB, free: 0.7305 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.001302/0.001302, allocations: 206.1 kB / 24.48 MB, free: 4.125 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.372/1.372, allocations: 230.5 MB / 258.1 MB, free: 8.137 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") [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.001931/0.001931, allocations: 63.83 kB / 380.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1905, allocations: 53.32 MB / 433.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.04283/0.2333, allocations: 39.48 MB / 473.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.2527, allocations: 10.48 MB / 483.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.2559, allocations: 279.1 kB / 483.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02126/0.2772, allocations: 10.26 MB / 494.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.2886, allocations: 4.476 MB / 498.6 MB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.294, allocations: 2.455 MB / 0.4893 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02068/0.3147, allocations: 18.53 MB / 0.5074 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02992/0.3446, allocations: 20.76 MB / 0.5277 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.3569, allocations: 9.436 MB / 0.5369 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1929/0.5499, allocations: 10.61 MB / 0.5473 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005506/0.5554, allocations: 2.68 MB / 0.5499 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005591/0.561, allocations: 3.065 MB / 0.5529 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.5641, allocations: 5.448 MB / 0.5582 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009173/0.5732, allocations: 10.2 MB / 0.5682 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.596, allocations: 35.83 MB / 0.6032 GB, free: 2.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.596, allocations: 0 / 0.6032 GB, free: 2.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.596, allocations: 0 / 0.6032 GB, free: 2.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005505/0.5966, allocations: 0 / 0.6032 GB, free: 2.758 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 0.05206/0.6486, allocations: 21.05 MB / 0.6237 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6487, allocations: 12.03 kB / 0.6237 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06042/0.7091, allocations: 10.59 MB / 0.6341 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02672/0.7358, allocations: 11.49 MB / 0.6453 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/0.737, allocations: 1.155 MB / 0.6464 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00476/0.7418, allocations: 1.518 MB / 0.6479 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0494/0.7912, allocations: 25.54 MB / 0.6728 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003369/0.7915, allocations: 23.28 kB / 0.6729 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/0.7934, allocations: 0.621 MB / 0.6735 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008976/0.7943, allocations: 0.8755 MB / 0.6743 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0453/0.8396, allocations: 24.39 MB / 0.6981 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3128/1.152, allocations: 80.43 MB / 0.7767 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/1.176, allocations: 38.33 MB / 0.8141 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009073/1.185, allocations: 6.873 MB / 0.8208 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02497/1.21, allocations: 17.58 MB / 0.838 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005668/1.216, allocations: 5.358 MB / 0.8432 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=719): time 8.506e-06/1.216, allocations: 0 / 0.8432 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=727): time 0.09029/1.306, allocations: 42.16 MB / 0.8844 GB, free: 85.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.306, allocations: 471.8 kB / 0.8849 GB, free: 84.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007337/1.313, allocations: 6.4 MB / 0.8911 GB, free: 78.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009561/1.314, allocations: 145.7 kB / 0.8913 GB, free: 77.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003617/1.318, allocations: 6.739 MB / 0.8978 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.32, allocations: 2.542 MB / 0.9003 GB, free: 68.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/1.322, allocations: 1.811 MB / 0.9021 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/1.322, allocations: 305.1 kB / 0.9024 GB, free: 66.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005661/1.328, allocations: 4.835 MB / 0.9071 GB, free: 61.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006567/1.334, allocations: 7.851 MB / 0.9148 GB, free: 52.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.347, allocations: 13.23 MB / 0.9277 GB, free: 38.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/1.347, allocations: 28 kB / 0.9277 GB, free: 37.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02143/1.368, allocations: 15.68 MB / 0.943 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/1.369, allocations: 44 kB / 0.9431 GB, free: 22.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-05/1.369, allocations: 88 kB / 0.9432 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/1.375, allocations: 2.91 MB / 0.946 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/1.381, allocations: 1.868 MB / 0.9478 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2362/1.617, allocations: 33.24 MB / 0.9803 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007048/1.624, allocations: 0.5571 MB / 0.9808 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006946/1.625, allocations: 422.2 kB / 0.9812 GB, free: 187.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 408 * Number of states: 0 () * Number of discrete variables: 48 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,switchYDQS.logicalDelay[3].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].y2,switchYDQS.logicalDelay[3].y1,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].y2,switchYDQS.logicalDelay[2].y1,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].y2,switchYDQS.logicalDelay[1].y1,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (986): * Single equations (assignments): 979 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,1,100.0%), (24,108,31.2%), (1,8,100.0%), (9,25,33.3%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007856/1.633, allocations: 5.896 MB / 0.987 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.634, allocations: 0.7454 MB / 0.9877 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0189/1.653, allocations: 13.3 MB / 1.001 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.154e-05/1.653, allocations: 37.12 kB / 1.001 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.653, allocations: 0 / 1.001 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003631/1.657, allocations: 1.83 MB / 1.003 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000961/1.658, allocations: 131.6 kB / 1.003 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/1.661, allocations: 407.9 kB / 1.003 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/1.662, allocations: 0.7114 MB / 1.004 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02007/1.682, allocations: 13.14 MB / 1.017 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01634/1.699, allocations: 15.11 MB / 1.031 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004701/1.703, allocations: 4.694 MB / 1.036 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004843/1.708, allocations: 4.347 MB / 1.04 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of Backend: time 2.81e-07/1.708, allocations: 0 / 1.04 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.722, allocations: 9.28 MB / 1.049 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03568/1.758, allocations: 28.45 MB / 1.077 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.3804/2.138, allocations: 149.8 MB / 1.223 GB, free: 204.9 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.303142545744777] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 2.14581796573475 2.15453375 1.5562046520000001 Calling exit ...