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.001842/0.001842, 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.001399/0.001399, allocations: 212.3 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.419/1.419, allocations: 230.4 MB / 258.7 MB, free: 7.945 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.00198/0.00198, allocations: 59.89 kB / 379.4 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2081, allocations: 53.36 MB / 432.8 MB, free: 7.027 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04785/0.2559, allocations: 41.74 MB / 474.5 MB, free: 13.11 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02353/0.2794, allocations: 11.42 MB / 486 MB, free: 1.648 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006773/0.2862, allocations: 354.2 kB / 486.3 MB, free: 1.301 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01928/0.3055, allocations: 8.002 MB / 494.3 MB, free: 9.285 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01151/0.317, allocations: 3.735 MB / 498 MB, free: 5.531 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.3238, allocations: 2.368 MB / 0.4887 GB, free: 3.168 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01722/0.341, allocations: 12.63 MB / 0.501 GB, free: 6.488 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02383/0.3648, allocations: 14.73 MB / 0.5154 GB, free: 7.602 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.008835/0.3737, allocations: 6.526 MB / 0.5218 GB, free: 1.059 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0114/0.3851, allocations: 7.35 MB / 0.529 GB, free: 9.684 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.003135/0.3882, allocations: 1.828 MB / 0.5307 GB, free: 7.855 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.3926, allocations: 2.257 MB / 0.533 GB, free: 5.598 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003574/0.3962, allocations: 3.658 MB / 0.5365 GB, free: 1.93 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.1983/0.5945, allocations: 7.094 MB / 0.5435 GB, free: 28.95 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01844/0.6129, allocations: 24.1 MB / 0.567 GB, free: 25.12 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6129, allocations: 0 / 0.567 GB, free: 25.12 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.343e-06/0.6129, allocations: 0 / 0.567 GB, free: 25.12 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0004538/0.6134, allocations: 3.938 kB / 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.034/0.6474, allocations: 14.44 MB / 0.5811 GB, free: 17.13 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6474, allocations: 11.16 kB / 0.5811 GB, free: 17.13 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02801/0.6755, allocations: 5.216 MB / 0.5862 GB, free: 14.73 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.69, allocations: 7.747 MB / 0.5938 GB, free: 9.902 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004621/0.6904, allocations: 0.8245 MB / 0.5946 GB, free: 9.531 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/0.6936, allocations: 1.097 MB / 0.5956 GB, free: 9.164 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.7252, allocations: 16.63 MB / 0.6119 GB, free: 9.625 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000296/0.7255, allocations: 18.05 kB / 0.6119 GB, free: 9.613 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/0.7274, allocations: 458 kB / 0.6123 GB, free: 9.176 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005963/0.728, allocations: 0.5778 MB / 0.6129 GB, free: 8.594 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03215/0.7601, allocations: 14.79 MB / 0.6273 GB, free: 9.793 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09996/0.8601, allocations: 53.59 MB / 0.6797 GB, free: 3.891 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01667/0.8767, allocations: 7.554 MB / 0.6871 GB, free: 12.98 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.005809/0.8825, allocations: 3.033 MB / 0.69 GB, free: 9.945 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01796/0.9005, allocations: 9.043 MB / 0.6989 GB, free: 1.027 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/0.9006, allocations: 65.56 kB / 0.6989 GB, free: 0.9492 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=313): time 5.13e-06/0.9006, allocations: 0 / 0.6989 GB, free: 0.9492 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=340): time 0.03619/0.9368, allocations: 16.34 MB / 0.7149 GB, free: 0.6523 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.9368, allocations: 116.4 kB / 0.715 GB, free: 0.5234 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009061/0.9459, allocations: 5.191 MB / 0.72 GB, free: 11.34 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.9461, allocations: 89.64 kB / 0.7201 GB, free: 11.25 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.004108/0.9502, allocations: 5.351 MB / 0.7254 GB, free: 5.891 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.9514, allocations: 1.254 MB / 0.7266 GB, free: 4.652 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/0.9536, allocations: 1.271 MB / 0.7278 GB, free: 3.371 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001267/0.9537, allocations: 309.1 kB / 0.7281 GB, free: 3.066 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004757/0.9585, allocations: 2.632 MB / 0.7307 GB, free: 440 kB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007164/0.9656, allocations: 5.444 MB / 0.736 GB, free: 9.695 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.9776, allocations: 8.516 MB / 0.7443 GB, free: 252 kB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-05/0.9777, allocations: 28 kB / 0.7443 GB, free: 224 kB / 0.5762 GB
Notification: Performance of matching and sorting (n=816) (initialization): time 0.01705/0.9947, allocations: 9.172 MB / 0.7533 GB, free: 7.617 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.9948, allocations: 44 kB / 0.7533 GB, free: 7.574 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/0.995, allocations: 96.5 kB / 0.7534 GB, free: 7.48 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.9975, allocations: 0.9054 MB / 0.7543 GB, free: 6.566 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/1.003, allocations: 1.474 MB / 0.7558 GB, free: 5.199 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2048/1.208, allocations: 10.22 MB / 0.7657 GB, free: 214.8 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/1.213, allocations: 403.9 kB / 0.7661 GB, free: 214.8 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/1.213, allocations: 340.8 kB / 0.7665 GB, free: 214.8 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.005209/1.218, allocations: 3.749 MB / 0.7701 GB, free: 214.7 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008775/1.219, allocations: 0.5303 MB / 0.7706 GB, free: 214.7 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009244/1.228, allocations: 5.695 MB / 0.7762 GB, free: 212.9 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/1.228, allocations: 16.03 kB / 0.7762 GB, free: 212.9 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.228, allocations: 3.969 kB / 0.7762 GB, free: 212.9 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001985/1.23, allocations: 0.9357 MB / 0.7771 GB, free: 212.7 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/1.231, allocations: 64.69 kB / 0.7772 GB, free: 212.6 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.233, allocations: 185.5 kB / 0.7774 GB, free: 212.6 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004697/1.234, allocations: 293.1 kB / 0.7776 GB, free: 212.6 MB / 0.5919 GB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009105/1.243, allocations: 5.515 MB / 0.783 GB, free: 210.6 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009252/1.252, allocations: 7.031 MB / 0.7899 GB, free: 207.8 MB / 0.5919 GB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002434/1.254, allocations: 1.946 MB / 0.7918 GB, free: 207.1 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.004586/1.259, allocations: 3.434 MB / 0.7951 GB, free: 205.8 MB / 0.5919 GB
Notification: Performance of Backend: time 2.41e-07/1.259, allocations: 0.75 kB / 0.7951 GB, free: 205.8 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.009178/1.268, allocations: 5.114 MB / 0.8001 GB, free: 203.8 MB / 0.5919 GB
Notification: Performance of SimCode: time 0.02636/1.295, allocations: 18.45 MB / 0.8182 GB, free: 188 MB / 0.5919 GB
Notification: Performance of Templates: time 0.1256/1.42, allocations: 89.03 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.980135519057512]
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.427882940042764 1.4362481790000001 0.820937644
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa356a01810>