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_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.001438/0.001438, allocations: 110.8 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.00168/0.00168, allocations: 211.6 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.789 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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2184, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01723/0.2357, allocations: 12.99 MB / 445.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009165/0.2448, allocations: 4.63 MB / 450 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.2465, allocations: 111.3 kB / 450.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.2491, allocations: 1.082 MB / 451.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.253, allocations: 1.468 MB / 452.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.2552, allocations: 0.9578 MB / 453.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00606/0.2612, allocations: 5.12 MB / 458.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.2642, allocations: 2.134 MB / 460.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.2674, allocations: 2.411 MB / 463.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/0.2712, allocations: 2.802 MB / 466.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008865/0.272, allocations: 0.6211 MB / 466.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.2737, allocations: 0.8357 MB / 467.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.275, allocations: 1.457 MB / 469 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.2775, allocations: 2.105 MB / 471.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009049/0.2865, allocations: 8.378 MB / 479.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2865, allocations: 0 / 479.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2865, allocations: 0 / 479.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.2867, allocations: 0 / 479.5 MB, free: 7.414 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01297/0.2997, allocations: 5.414 MB / 484.9 MB, free: 1.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2997, allocations: 12.02 kB / 484.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.3046, allocations: 0.9427 MB / 485.8 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.3105, allocations: 2.969 MB / 488.8 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.3108, allocations: 299.7 kB / 489.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000635/0.3114, allocations: 391.9 kB / 489.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009569/0.321, allocations: 5.538 MB / 495 MB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.723e-05/0.3211, allocations: 7.891 kB / 495 MB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.3215, allocations: 164 kB / 495.2 MB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.3217, allocations: 167.7 kB / 495.3 MB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008521/0.3302, allocations: 4.734 MB / 0.4884 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02546/0.3556, allocations: 14.51 MB / 0.5025 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.3627, allocations: 3.761 MB / 0.5062 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.3655, allocations: 1.709 MB / 0.5079 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008678/0.3742, allocations: 4.167 MB / 0.5119 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.3765, allocations: 1.479 MB / 0.5134 GB, free: 8.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.258e-06/0.3765, allocations: 0 / 0.5134 GB, free: 8.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.02427/0.4008, allocations: 8.001 MB / 0.5212 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/0.401, allocations: 231.6 kB / 0.5214 GB, free: 420 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/0.4063, allocations: 2.154 MB / 0.5235 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.4066, allocations: 61.69 kB / 0.5236 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002515/0.4092, allocations: 1.811 MB / 0.5253 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.4102, allocations: 0.6508 MB / 0.526 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4113, allocations: 411.9 kB / 0.5264 GB, free: 11.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4114, allocations: 301.1 kB / 0.5267 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/0.4145, allocations: 1.019 MB / 0.5277 GB, free: 9.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.4189, allocations: 1.806 MB / 0.5294 GB, free: 7.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/0.4267, allocations: 2.652 MB / 0.532 GB, free: 4.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/0.4267, allocations: 4 kB / 0.532 GB, free: 4.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0117/0.4384, allocations: 3.473 MB / 0.5354 GB, free: 1.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.4384, allocations: 12 kB / 0.5354 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.4385, allocations: 20.03 kB / 0.5354 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/0.4422, allocations: 0.7666 MB / 0.5362 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.4454, allocations: 387.4 kB / 0.5366 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2234/0.6687, allocations: 11.2 MB / 0.5475 GB, free: 92.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.6707, allocations: 130.8 kB / 0.5476 GB, free: 92.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.6708, allocations: 86.44 kB / 0.5477 GB, free: 92.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 24 (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],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(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.001749/0.6725, allocations: 1.33 MB / 0.549 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.6728, allocations: 247.5 kB / 0.5492 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.6776, allocations: 3.175 MB / 0.5523 GB, free: 90.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.6776, allocations: 19.12 kB / 0.5524 GB, free: 90.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6776, allocations: 0 / 0.5524 GB, free: 90.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/0.6786, allocations: 487 kB / 0.5528 GB, free: 89.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.6789, allocations: 43.05 kB / 0.5529 GB, free: 89.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/0.6798, allocations: 95.33 kB / 0.5529 GB, free: 89.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.6802, allocations: 241.3 kB / 0.5532 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005517/0.6857, allocations: 3.305 MB / 0.5564 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004155/0.6899, allocations: 3.753 MB / 0.5601 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001177/0.691, allocations: 1.081 MB / 0.5611 GB, free: 84.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.6926, allocations: 1.449 MB / 0.5625 GB, free: 83.41 MB / 446.1 MB Notification: Performance of Backend: time 2.6e-07/0.6926, allocations: 0 / 0.5625 GB, free: 83.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.6964, allocations: 2.486 MB / 0.565 GB, free: 80.97 MB / 446.1 MB Notification: Performance of SimCode: time 0.009715/0.7061, allocations: 8.171 MB / 0.5729 GB, free: 72.8 MB / 446.1 MB Notification: Performance of Templates: time 0.06303/0.7691, allocations: 51.51 MB / 0.6233 GB, free: 21.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.861121017995174] Failed to read output from testmodel.py, exit status != 0: ['time', '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', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 0.7773338219994912 0.786981228 0.498059611 Calling exit ...