Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001759/0.001759, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.002077/0.002077, allocations: 211 kB / 24.48 MB, free: 4.035 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.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.172 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.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-beta.om_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-beta.om_Modelica.Magnetic.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.001878/0.001878, allocations: 67.83 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2042, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01786/0.2221, allocations: 14.97 MB / 447.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.2305, allocations: 4.891 MB / 451.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.2322, allocations: 95.62 kB / 452 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.235, allocations: 1.13 MB / 453.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.2384, allocations: 1.48 MB / 454.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2404, allocations: 0.9848 MB / 455.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005272/0.2457, allocations: 5.098 MB / 460.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.2484, allocations: 2.133 MB / 462.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.2511, allocations: 2.364 MB / 465.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.2545, allocations: 2.795 MB / 468 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007415/0.2552, allocations: 0.6211 MB / 468.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.2566, allocations: 0.8513 MB / 469.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.2579, allocations: 1.461 MB / 471 MB, free: 304 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.2604, allocations: 2.657 MB / 473.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008122/0.2685, allocations: 8.339 MB / 482 MB, free: 5.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2686, allocations: 4 kB / 482 MB, free: 5.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2686, allocations: 3.938 kB / 482 MB, free: 5.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.19e-05/0.2686, allocations: 0 / 482 MB, free: 5.254 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.01191/0.2805, allocations: 5.505 MB / 487.5 MB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2806, allocations: 8.031 kB / 487.5 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/0.2852, allocations: 0.9388 MB / 488.4 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/0.2907, allocations: 3.049 MB / 491.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.291, allocations: 299.7 kB / 491.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005994/0.2916, allocations: 383.9 kB / 492.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00864/0.3002, allocations: 5.395 MB / 497.5 MB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-05/0.3003, allocations: 11.95 kB / 497.5 MB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.3007, allocations: 156 kB / 497.7 MB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.3009, allocations: 171.7 kB / 497.9 MB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007996/0.3089, allocations: 4.742 MB / 0.4908 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02484/0.3337, allocations: 16.82 MB / 0.5072 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0092/0.3429, allocations: 8.603 MB / 0.5156 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.3457, allocations: 1.717 MB / 0.5173 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008525/0.3542, allocations: 5.105 MB / 0.5223 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.3563, allocations: 1.313 MB / 0.5236 GB, free: 13.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 3.226e-06/0.3563, allocations: 0 / 0.5236 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.01816/0.3744, allocations: 8.71 MB / 0.5321 GB, free: 4.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.3746, allocations: 227.6 kB / 0.5323 GB, free: 4.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.3777, allocations: 2.347 MB / 0.5346 GB, free: 1.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.3779, allocations: 61.69 kB / 0.5347 GB, free: 1.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1672/0.545, allocations: 1.794 MB / 0.5364 GB, free: 99.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007092/0.5458, allocations: 0.6444 MB / 0.537 GB, free: 99.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009189/0.5467, allocations: 417.1 kB / 0.5374 GB, free: 99.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.5467, allocations: 305.9 kB / 0.5377 GB, free: 99.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.5485, allocations: 1.018 MB / 0.5387 GB, free: 99.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.5504, allocations: 1.631 MB / 0.5403 GB, free: 98.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.5533, allocations: 2.645 MB / 0.5429 GB, free: 96.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.5534, allocations: 4.625 kB / 0.5429 GB, free: 96.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00502/0.5584, allocations: 3.574 MB / 0.5464 GB, free: 95.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5584, allocations: 11.66 kB / 0.5464 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5584, allocations: 16.77 kB / 0.5464 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.5599, allocations: 0.771 MB / 0.5472 GB, free: 94.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.5612, allocations: 391.5 kB / 0.5475 GB, free: 94.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008801/0.57, allocations: 11.84 MB / 0.5591 GB, free: 86.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5715, allocations: 130.4 kB / 0.5592 GB, free: 86.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5716, allocations: 89.56 kB / 0.5593 GB, free: 86.2 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.001468/0.573, allocations: 1.327 MB / 0.5606 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.5733, allocations: 263.1 kB / 0.5609 GB, free: 85.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.5778, allocations: 3.348 MB / 0.5641 GB, free: 82.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.5778, allocations: 11.97 kB / 0.5641 GB, free: 82.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5778, allocations: 0 / 0.5641 GB, free: 82.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/0.5787, allocations: 0.5734 MB / 0.5647 GB, free: 81.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.579, allocations: 40 kB / 0.5647 GB, free: 81.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.58, allocations: 95.91 kB / 0.5648 GB, free: 81.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.5803, allocations: 241.3 kB / 0.5651 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00542/0.5858, allocations: 3.322 MB / 0.5683 GB, free: 78.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004025/0.5898, allocations: 3.769 MB / 0.572 GB, free: 74.52 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001195/0.591, allocations: 1.081 MB / 0.573 GB, free: 73.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.5926, allocations: 1.61 MB / 0.5746 GB, free: 71.81 MB / 446.1 MB Notification: Performance of Backend: time 1.61e-07/0.5926, allocations: 0 / 0.5746 GB, free: 71.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.5962, allocations: 2.563 MB / 0.5771 GB, free: 69.21 MB / 446.1 MB Notification: Performance of SimCode: time 0.008709/0.6049, allocations: 8.304 MB / 0.5852 GB, free: 60.89 MB / 446.1 MB Notification: Performance of Templates: time 0.057/0.6619, allocations: 46.3 MB / 0.6304 GB, free: 15.17 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.785813686903566] 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.6691005891188979 0.6773711060000001 0.40663309200000003 Calling exit ...