Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.00184/0.00184, 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.001878/0.001878, allocations: 215.5 kB / 24.49 MB, free: 3.938 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2138, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01921/0.233, allocations: 15.05 MB / 447.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.2427, allocations: 5.402 MB / 452.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.244, allocations: 127.2 kB / 452.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.2467, allocations: 1.262 MB / 454.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.2502, allocations: 1.619 MB / 455.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.2524, allocations: 1.075 MB / 456.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005696/0.2581, allocations: 5.232 MB / 462.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.2613, allocations: 2.313 MB / 464.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.2638, allocations: 2.251 MB / 466.7 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.2671, allocations: 2.674 MB / 469.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000822/0.2679, allocations: 0.6094 MB / 470 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.2694, allocations: 0.8552 MB / 470.8 MB, free: 24 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.2707, allocations: 1.43 MB / 472.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.2731, allocations: 2.104 MB / 474.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008494/0.2816, allocations: 8.194 MB / 482.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2816, allocations: 0 / 482.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2816, allocations: 0 / 482.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.724e-05/0.2817, allocations: 0 / 482.6 MB, free: 4.258 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01264/0.2943, allocations: 5.463 MB / 488 MB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2943, allocations: 8.031 kB / 488 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005744/0.3001, allocations: 1.017 MB / 489 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.3063, allocations: 2.953 MB / 492 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.3066, allocations: 306.5 kB / 492.3 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006539/0.3073, allocations: 396 kB / 492.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009417/0.3167, allocations: 5.367 MB / 498.1 MB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.698e-05/0.3168, allocations: 0 / 498.1 MB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004255/0.3172, allocations: 172 kB / 498.2 MB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.3174, allocations: 176 kB / 498.4 MB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00802/0.3254, allocations: 4.458 MB / 0.4911 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.35, allocations: 14.35 MB / 0.5051 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/0.356, allocations: 3.234 MB / 0.5082 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.3602, allocations: 1.975 MB / 0.5102 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008926/0.3691, allocations: 4.15 MB / 0.5142 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.3691, allocations: 55.88 kB / 0.5143 GB, free: 7.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.3691, allocations: 4 kB / 0.5143 GB, free: 7.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01267/0.3818, allocations: 5.881 MB / 0.52 GB, free: 1.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3819, allocations: 68.72 kB / 0.5201 GB, free: 1.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/0.385, allocations: 2.113 MB / 0.5221 GB, free: 15.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3851, allocations: 53.7 kB / 0.5222 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.3866, allocations: 1.927 MB / 0.5241 GB, free: 13.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005679/0.3872, allocations: 0.5771 MB / 0.5246 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006418/0.3878, allocations: 407.8 kB / 0.525 GB, free: 12.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.388, allocations: 301.1 kB / 0.5253 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.3896, allocations: 0.8553 MB / 0.5262 GB, free: 11.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.3917, allocations: 1.592 MB / 0.5277 GB, free: 9.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/0.3956, allocations: 2.586 MB / 0.5302 GB, free: 6.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.3956, allocations: 8 kB / 0.5302 GB, free: 6.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005115/0.4007, allocations: 2.888 MB / 0.5331 GB, free: 3.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.4008, allocations: 12 kB / 0.5331 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.4008, allocations: 27.98 kB / 0.5331 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.4012, allocations: 182.1 kB / 0.5333 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/0.4034, allocations: 0.5304 MB / 0.5338 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.406, allocations: 2.284 MB / 0.536 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4075, allocations: 115.9 kB / 0.5361 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.4077, allocations: 96 kB / 0.5362 GB, free: 252 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1753/0.583, allocations: 1.198 MB / 0.5374 GB, free: 98.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/0.5835, allocations: 234.9 kB / 0.5376 GB, free: 98.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.5876, allocations: 2.348 MB / 0.5399 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.5876, allocations: 7.875 kB / 0.5399 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5876, allocations: 1.375 kB / 0.5399 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009976/0.5886, allocations: 421.9 kB / 0.5403 GB, free: 97.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.5889, allocations: 34.34 kB / 0.5404 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.59, allocations: 80.38 kB / 0.5404 GB, free: 97.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.5902, allocations: 137.3 kB / 0.5406 GB, free: 97.52 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004546/0.5948, allocations: 2.324 MB / 0.5428 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003715/0.5985, allocations: 3.025 MB / 0.5458 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001017/0.5995, allocations: 0.8056 MB / 0.5466 GB, free: 95.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001503/0.601, allocations: 1.4 MB / 0.5479 GB, free: 94.64 MB / 446.1 MB Notification: Performance of Backend: time 2.81e-07/0.601, allocations: 0 / 0.5479 GB, free: 94.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.604, allocations: 1.679 MB / 0.5496 GB, free: 93.98 MB / 446.1 MB Notification: Performance of SimCode: time 0.008289/0.6123, allocations: 7.398 MB / 0.5568 GB, free: 88.16 MB / 446.1 MB Notification: Performance of Templates: time 0.04998/0.6622, allocations: 42.32 MB / 0.5981 GB, free: 47.07 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.6288255200051935] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.inertiaRotor.phi', 'smee.inertiaRotor.w', 'smee.is[1]', 'smee.is[2]', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im'] 0.6695728380000219 0.678447131 0.39465579399999995 Calling exit ...