Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001276/0.001276, allocations: 113.1 kB / 21.86 MB, free: 88 kB / 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.001382/0.001382, allocations: 209.4 kB / 25.14 MB, free: 3.598 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.422/1.422, allocations: 230.4 MB / 258.7 MB, free: 7.984 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator")
translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [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.002007/0.002007, allocations: 64.77 kB / 379.4 MB, free: 2.852 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.218, allocations: 53.36 MB / 432.8 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04727/0.2652, allocations: 41.75 MB / 474.5 MB, free: 13.14 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02333/0.2886, allocations: 11.42 MB / 486 MB, free: 1.68 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006524/0.2951, allocations: 362.1 kB / 486.3 MB, free: 1.324 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01919/0.3143, allocations: 7.992 MB / 494.3 MB, free: 9.312 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01173/0.326, allocations: 3.744 MB / 498.1 MB, free: 5.551 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.006746/0.3328, allocations: 2.371 MB / 0.4887 GB, free: 3.188 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01717/0.3499, allocations: 12.61 MB / 0.501 GB, free: 6.52 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02524/0.3752, allocations: 14.74 MB / 0.5154 GB, free: 7.633 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.3856, allocations: 6.526 MB / 0.5218 GB, free: 1.09 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.3974, allocations: 7.35 MB / 0.529 GB, free: 9.715 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.003972/0.4013, allocations: 1.824 MB / 0.5307 GB, free: 7.891 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.005345/0.4067, allocations: 2.261 MB / 0.5329 GB, free: 5.629 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.004037/0.4107, allocations: 3.658 MB / 0.5365 GB, free: 1.961 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.201/0.6117, allocations: 7.095 MB / 0.5434 GB, free: 28.94 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01979/0.6315, allocations: 24.11 MB / 0.567 GB, free: 25.12 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6315, allocations: 0 / 0.567 GB, free: 25.12 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.372e-06/0.6315, allocations: 0.9062 kB / 0.567 GB, free: 25.12 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0004497/0.632, allocations: 0 / 0.567 GB, free: 25.12 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: 3043
 * Number of variables: 3043
Notification: Performance of Generate backend data structure: time 0.03368/0.6656, allocations: 14.44 MB / 0.5811 GB, free: 17.16 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6657, allocations: 7.594 kB / 0.5811 GB, free: 17.16 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02799/0.6937, allocations: 5.218 MB / 0.5862 GB, free: 14.76 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/0.708, allocations: 7.747 MB / 0.5938 GB, free: 9.926 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.7084, allocations: 0.8296 MB / 0.5946 GB, free: 9.551 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.7108, allocations: 1.085 MB / 0.5956 GB, free: 9.191 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03008/0.7409, allocations: 16.63 MB / 0.6119 GB, free: 9.586 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/0.7411, allocations: 15.91 kB / 0.6119 GB, free: 9.57 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.7424, allocations: 457.5 kB / 0.6123 GB, free: 9.133 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006009/0.743, allocations: 0.5838 MB / 0.6129 GB, free: 8.547 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03018/0.7732, allocations: 14.79 MB / 0.6273 GB, free: 9.746 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09463/0.8679, allocations: 53.58 MB / 0.6797 GB, free: 3.852 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.8849, allocations: 7.573 MB / 0.6871 GB, free: 12.93 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00597/0.8909, allocations: 3.029 MB / 0.69 GB, free: 9.902 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01843/0.9093, allocations: 9.036 MB / 0.6988 GB, free: 1.004 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/0.9094, allocations: 69.56 kB / 0.6989 GB, free: 0.9219 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=313): time 5.841e-06/0.9094, allocations: 0 / 0.6989 GB, free: 0.9219 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=340): time 0.03621/0.9456, allocations: 16.33 MB / 0.7149 GB, free: 0.6289 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.9457, allocations: 115.8 kB / 0.715 GB, free: 0.5039 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008216/0.9539, allocations: 5.189 MB / 0.72 GB, free: 11.33 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003944/0.9543, allocations: 81.7 kB / 0.7201 GB, free: 11.24 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003976/0.9583, allocations: 5.349 MB / 0.7253 GB, free: 5.883 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001276/0.9596, allocations: 1.259 MB / 0.7266 GB, free: 4.641 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.9616, allocations: 1.275 MB / 0.7278 GB, free: 3.355 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001253/0.9617, allocations: 309.1 kB / 0.7281 GB, free: 3.051 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/0.9664, allocations: 2.636 MB / 0.7307 GB, free: 420 kB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/0.9733, allocations: 5.445 MB / 0.736 GB, free: 9.676 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/0.9855, allocations: 8.512 MB / 0.7443 GB, free: 236 kB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.479e-05/0.9855, allocations: 28 kB / 0.7443 GB, free: 208 kB / 0.5762 GB
Notification: Performance of matching and sorting (n=816) (initialization): time 0.01703/1.003, allocations: 9.17 MB / 0.7533 GB, free: 7.602 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/1.003, allocations: 46.66 kB / 0.7533 GB, free: 7.559 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.003, allocations: 96 kB / 0.7534 GB, free: 7.465 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/1.005, allocations: 0.9083 MB / 0.7543 GB, free: 6.551 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/1.01, allocations: 1.483 MB / 0.7558 GB, free: 5.176 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2059/1.216, allocations: 10.21 MB / 0.7657 GB, free: 215.4 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/1.222, allocations: 401.1 kB / 0.7661 GB, free: 215.4 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/1.222, allocations: 339.7 kB / 0.7664 GB, free: 215.4 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 431
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (767):
 * Single equations (assignments): 762
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 3
 * 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): 3 systems
   {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.005289/1.227, allocations: 3.751 MB / 0.7701 GB, free: 215.2 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009347/1.228, allocations: 0.5284 MB / 0.7706 GB, free: 215.2 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0093/1.238, allocations: 5.7 MB / 0.7762 GB, free: 213.3 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/1.238, allocations: 15.98 kB / 0.7762 GB, free: 213.3 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.238, allocations: 0 / 0.7762 GB, free: 213.3 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.24, allocations: 0.9356 MB / 0.7771 GB, free: 213 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005775/1.24, allocations: 55.69 kB / 0.7772 GB, free: 213 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.243, allocations: 196.5 kB / 0.7774 GB, free: 212.9 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/1.243, allocations: 285.1 kB / 0.7776 GB, free: 212.9 MB / 0.5919 GB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009329/1.252, allocations: 5.52 MB / 0.783 GB, free: 210.9 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008604/1.261, allocations: 7.032 MB / 0.7899 GB, free: 208.2 MB / 0.5919 GB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002401/1.263, allocations: 1.941 MB / 0.7918 GB, free: 207.4 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.004294/1.268, allocations: 3.443 MB / 0.7951 GB, free: 206.2 MB / 0.5919 GB
Notification: Performance of Backend: time 3.01e-07/1.268, allocations: 2.156 kB / 0.7951 GB, free: 206.2 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.008949/1.277, allocations: 5.117 MB / 0.8001 GB, free: 204.1 MB / 0.5919 GB
Notification: Performance of SimCode: time 0.02516/1.302, allocations: 18.44 MB / 0.8182 GB, free: 188.1 MB / 0.5919 GB
Notification: Performance of Templates: time 0.1254/1.427, allocations: 89.04 MB / 0.9051 GB, free: 102.1 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 8.990770409349352]
Failed to read output from testmodel.py, exit status != 0:
['time', 'constantSpeed.phi', 'constantSpeedQS.phi', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.stray.port_p.Phi.im', 'smee.stator.stray.port_p.Phi.re', 'smee.stator.zeroInductor.i0', 'smeeQS.short.port_p.reference.gamma']
1.4350741761736572 1.443463389 0.809571571
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9504f61810>