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.IMC_YD.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.001298/0.001298, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001646/0.001646, allocations: 215 kB / 24.49 MB, free: 3.934 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 43.94 kB / 380.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2124, allocations: 53.37 MB / 433.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.04083/0.2532, allocations: 33.65 MB / 467.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.2729, allocations: 10.16 MB / 477.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.2767, allocations: 334.2 kB / 478.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02247/0.2992, allocations: 9.529 MB / 487.6 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.3113, allocations: 4.518 MB / 492.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.3169, allocations: 2.46 MB / 494.6 MB, free: 9.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02085/0.3377, allocations: 18.62 MB / 0.5012 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03161/0.3693, allocations: 22.15 MB / 0.5228 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.3814, allocations: 9.643 MB / 0.5322 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3851/0.7666, allocations: 10.61 MB / 0.5426 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005367/0.772, allocations: 2.676 MB / 0.5452 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006089/0.778, allocations: 3.059 MB / 0.5482 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003511/0.7816, allocations: 5.441 MB / 0.5535 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009266/0.7908, allocations: 7.927 MB / 0.5612 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.8146, allocations: 35.99 MB / 0.5964 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8147, allocations: 0.9375 kB / 0.5964 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.8147, allocations: 0 / 0.5964 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005862/0.8152, allocations: 3.938 kB / 0.5964 GB, free: 10.38 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.04899/0.8642, allocations: 20.96 MB / 0.6169 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8643, allocations: 12.03 kB / 0.6169 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06177/0.9261, allocations: 10.6 MB / 0.6272 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/0.9521, allocations: 11.57 MB / 0.6385 GB, free: 5.562 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/0.9532, allocations: 1.158 MB / 0.6396 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004101/0.9573, allocations: 1.515 MB / 0.6411 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05365/1.011, allocations: 25.83 MB / 0.6663 GB, free: 8.941 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004316/1.011, allocations: 27.45 kB / 0.6664 GB, free: 8.918 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/1.014, allocations: 0.629 MB / 0.667 GB, free: 8.309 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009748/1.015, allocations: 0.8677 MB / 0.6678 GB, free: 7.438 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.048/1.063, allocations: 24.29 MB / 0.6916 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3274/1.391, allocations: 70 MB / 0.7599 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02345/1.414, allocations: 17.08 MB / 0.7766 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008212/1.422, allocations: 6.862 MB / 0.7833 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02565/1.448, allocations: 15.64 MB / 0.7986 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006089/1.454, allocations: 5.647 MB / 0.8041 GB, free: 162.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=719): time 1.981e-05/1.454, allocations: 0 / 0.8041 GB, free: 162.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=727): time 0.09204/1.546, allocations: 41.3 MB / 0.8444 GB, free: 133 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.546, allocations: 473.4 kB / 0.8449 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00654/1.553, allocations: 6.118 MB / 0.8508 GB, free: 126.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0004492/1.553, allocations: 153.7 kB / 0.851 GB, free: 126.1 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003679/1.557, allocations: 6.762 MB / 0.8576 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.558, allocations: 2.542 MB / 0.8601 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002315/1.561, allocations: 1.811 MB / 0.8618 GB, free: 115 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/1.561, allocations: 305.1 kB / 0.8621 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005631/1.566, allocations: 4.835 MB / 0.8669 GB, free: 109.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006685/1.573, allocations: 8.203 MB / 0.8749 GB, free: 100.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.586, allocations: 13.22 MB / 0.8878 GB, free: 85.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.132e-05/1.586, allocations: 32 kB / 0.8878 GB, free: 85.67 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02072/1.606, allocations: 15.57 MB / 0.903 GB, free: 69.99 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/1.606, allocations: 53.69 kB / 0.9031 GB, free: 69.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-05/1.607, allocations: 88 kB / 0.9032 GB, free: 69.86 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006337/1.613, allocations: 2.905 MB / 0.906 GB, free: 66.93 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00611/1.619, allocations: 1.86 MB / 0.9078 GB, free: 65.07 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0315/1.65, allocations: 31.96 MB / 0.939 GB, free: 32.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006092/1.657, allocations: 0.5581 MB / 0.9396 GB, free: 31.96 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007203/1.657, allocations: 431.9 kB / 0.94 GB, free: 31.54 MB / 0.5763 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.006892/1.664, allocations: 5.881 MB / 0.9457 GB, free: 25.65 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.665, allocations: 0.7142 MB / 0.9464 GB, free: 24.93 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/1.684, allocations: 13.13 MB / 0.9592 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/1.684, allocations: 35.86 kB / 0.9593 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.684, allocations: 0 / 0.9593 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003816/1.688, allocations: 1.759 MB / 0.961 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009493/1.689, allocations: 128 kB / 0.9611 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003128/1.692, allocations: 407.5 kB / 0.9615 GB, free: 9.348 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.693, allocations: 0.7431 MB / 0.9622 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02115/1.714, allocations: 13.05 MB / 0.975 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2214/1.936, allocations: 15.09 MB / 0.9897 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005742/1.941, allocations: 4.692 MB / 0.9943 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005125/1.946, allocations: 4.026 MB / 0.9982 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of Backend: time 2.5e-07/1.946, allocations: 3.656 kB / 0.9982 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01421/1.961, allocations: 9.182 MB / 1.007 GB, free: 187 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03698/1.998, allocations: 28.18 MB / 1.035 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.2021/2.2, allocations: 161.6 MB / 1.193 GB, free: 23.12 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.57455207699968] 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.2075582919933368 2.367110248 1.399882023 Calling exit ...