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.SynchronousMachines.SMEE_DOL.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.001785/0.001785, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002152/0.002152, allocations: 214.8 kB / 24.48 MB, free: 4.191 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.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [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.001958/0.001958, allocations: 67.83 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2113, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02023/0.2315, allocations: 17.43 MB / 449.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.2419, allocations: 5.719 MB / 455.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.2439, allocations: 103.6 kB / 455.3 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.247, allocations: 1.316 MB / 456.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.2514, allocations: 1.639 MB / 458.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.254, allocations: 1.118 MB / 459.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006336/0.2603, allocations: 5.211 MB / 464.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.2635, allocations: 2.309 MB / 466.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.266, allocations: 2.2 MB / 469.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.2694, allocations: 2.67 MB / 471.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007632/0.2702, allocations: 0.6133 MB / 472.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.2716, allocations: 0.8552 MB / 473.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.2729, allocations: 1.433 MB / 474.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.2757, allocations: 2.649 MB / 477.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.2847, allocations: 8.167 MB / 485.5 MB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2847, allocations: 4 kB / 485.5 MB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2847, allocations: 0 / 485.5 MB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.2848, allocations: 0 / 485.5 MB, free: 1.688 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.01338/0.2982, allocations: 5.525 MB / 491 MB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2982, allocations: 12.03 kB / 491 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009063/0.3073, allocations: 1.021 MB / 492.1 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008823/0.3161, allocations: 3.028 MB / 495.1 MB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004073/0.3165, allocations: 300.2 kB / 495.4 MB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009445/0.3175, allocations: 411.8 kB / 495.8 MB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.3311, allocations: 5.217 MB / 0.4893 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.3312, allocations: 11.95 kB / 0.4893 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006045/0.3318, allocations: 160 kB / 0.4894 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/0.3321, allocations: 172 kB / 0.4896 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.3444, allocations: 4.466 MB / 0.494 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.3742, allocations: 16.73 MB / 0.5103 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008828/0.383, allocations: 8.507 MB / 0.5186 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/0.3873, allocations: 2.006 MB / 0.5206 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009454/0.3968, allocations: 5.769 MB / 0.5262 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.3968, allocations: 55.81 kB / 0.5262 GB, free: 10.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=157): time 3.316e-06/0.3968, allocations: 0 / 0.5262 GB, free: 10.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.01299/0.4098, allocations: 6.368 MB / 0.5325 GB, free: 3.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.4099, allocations: 68.72 kB / 0.5325 GB, free: 3.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.4136, allocations: 2.323 MB / 0.5348 GB, free: 1.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4137, allocations: 49.7 kB / 0.5348 GB, free: 1.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1716/0.5854, allocations: 1.906 MB / 0.5367 GB, free: 99.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.5859, allocations: 0.5748 MB / 0.5373 GB, free: 98.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00065/0.5866, allocations: 401.6 kB / 0.5376 GB, free: 98.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.102e-05/0.5866, allocations: 301.8 kB / 0.5379 GB, free: 98.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.5881, allocations: 0.8575 MB / 0.5388 GB, free: 98.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.5896, allocations: 1.571 MB / 0.5403 GB, free: 97.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.5925, allocations: 2.584 MB / 0.5428 GB, free: 95.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.5925, allocations: 7.938 kB / 0.5428 GB, free: 95.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004349/0.5968, allocations: 2.988 MB / 0.5458 GB, free: 94.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5969, allocations: 15.78 kB / 0.5458 GB, free: 94.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.5969, allocations: 24.31 kB / 0.5458 GB, free: 94.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.5973, allocations: 179.7 kB / 0.546 GB, free: 94.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.5991, allocations: 0.5274 MB / 0.5465 GB, free: 94.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.6008, allocations: 2.444 MB / 0.5489 GB, free: 92.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6023, allocations: 101.8 kB / 0.549 GB, free: 92.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.6024, allocations: 107.7 kB / 0.5491 GB, free: 92.1 MB / 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.001456/0.6039, allocations: 1.197 MB / 0.5502 GB, free: 91.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.6041, allocations: 261 kB / 0.5505 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.6077, allocations: 2.519 MB / 0.5529 GB, free: 90.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.6077, allocations: 7.406 kB / 0.553 GB, free: 90.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6077, allocations: 0 / 0.553 GB, free: 90.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.6085, allocations: 0.5095 MB / 0.5534 GB, free: 89.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.6088, allocations: 39.56 kB / 0.5535 GB, free: 89.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6099, allocations: 81.12 kB / 0.5536 GB, free: 89.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.6101, allocations: 127.5 kB / 0.5537 GB, free: 89.73 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004074/0.6141, allocations: 2.345 MB / 0.556 GB, free: 88.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00354/0.6177, allocations: 3.029 MB / 0.5589 GB, free: 87.44 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000987/0.6187, allocations: 0.8081 MB / 0.5597 GB, free: 86.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.6202, allocations: 1.577 MB / 0.5613 GB, free: 85.43 MB / 446.1 MB Notification: Performance of Backend: time 1.5e-07/0.6202, allocations: 0 / 0.5613 GB, free: 85.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.6231, allocations: 1.741 MB / 0.563 GB, free: 83.82 MB / 446.1 MB Notification: Performance of SimCode: time 0.008439/0.6315, allocations: 7.544 MB / 0.5703 GB, free: 76.27 MB / 446.1 MB Notification: Performance of Templates: time 0.05264/0.6841, allocations: 40.27 MB / 0.6097 GB, free: 36.41 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.538975137285888] 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.6915834173560143 0.700264572 0.41335786099999994 Calling exit ...