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.00175/0.00175, 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.002108/0.002108, allocations: 214.1 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.473/1.473, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.001994/0.001994, allocations: 67.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2288, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04878/0.2776, allocations: 42.02 MB / 474.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02416/0.3017, allocations: 11.43 MB / 485.6 MB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007179/0.3089, allocations: 303.1 kB / 485.9 MB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01979/0.3287, allocations: 8.001 MB / 493.9 MB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.3408, allocations: 3.677 MB / 497.5 MB, free: 5.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007273/0.348, allocations: 2.337 MB / 499.9 MB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0188/0.3668, allocations: 12.56 MB / 0.5004 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03111/0.3979, allocations: 14.73 MB / 0.5148 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.4088, allocations: 6.389 MB / 0.521 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/0.4214, allocations: 7.346 MB / 0.5282 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004723/0.4261, allocations: 1.828 MB / 0.53 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/0.4325, allocations: 2.257 MB / 0.5322 GB, free: 6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005347/0.4379, allocations: 3.662 MB / 0.5358 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2137/0.6516, allocations: 7.088 MB / 0.5427 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02318/0.6748, allocations: 24.11 MB / 0.5663 GB, free: 25.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6748, allocations: 3.438 kB / 0.5663 GB, free: 25.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6748, allocations: 3.25 kB / 0.5663 GB, free: 25.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004701/0.6752, allocations: 6.281 kB / 0.5663 GB, free: 25.06 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.03912/0.7144, allocations: 14.51 MB / 0.5804 GB, free: 17.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.7144, allocations: 7.406 kB / 0.5804 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/0.7444, allocations: 5.216 MB / 0.5855 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/0.7607, allocations: 7.773 MB / 0.5931 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/0.7612, allocations: 0.8305 MB / 0.5939 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004075/0.7653, allocations: 1.084 MB / 0.595 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/0.8041, allocations: 16.62 MB / 0.6112 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000429/0.8045, allocations: 19 kB / 0.6113 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003116/0.8076, allocations: 462 kB / 0.6117 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006231/0.8082, allocations: 0.5812 MB / 0.6123 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03295/0.8412, allocations: 14.78 MB / 0.6267 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/0.9509, allocations: 57.38 MB / 0.6827 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0246/0.9755, allocations: 20.79 MB / 0.703 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006092/0.9816, allocations: 3.044 MB / 0.706 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01993/1.002, allocations: 10.01 MB / 0.7158 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/1.002, allocations: 69.56 kB / 0.7158 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=313): time 4.809e-06/1.002, allocations: 0 / 0.7158 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=340): time 0.03755/1.039, allocations: 16.93 MB / 0.7324 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/1.039, allocations: 112.4 kB / 0.7325 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008418/1.048, allocations: 5.195 MB / 0.7376 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000489/1.048, allocations: 81.7 kB / 0.7376 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004014/1.052, allocations: 5.349 MB / 0.7429 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.053, allocations: 1.249 MB / 0.7441 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002021/1.055, allocations: 1.275 MB / 0.7453 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.056, allocations: 308.9 kB / 0.7456 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.06, allocations: 2.636 MB / 0.7482 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/1.067, allocations: 5.44 MB / 0.7535 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2084/1.275, allocations: 8.511 MB / 0.7618 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-05/1.275, allocations: 27.28 kB / 0.7618 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01669/1.292, allocations: 9.247 MB / 0.7709 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/1.292, allocations: 46.59 kB / 0.7709 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/1.292, allocations: 99.72 kB / 0.771 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/1.295, allocations: 0.9117 MB / 0.7719 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005197/1.3, allocations: 1.48 MB / 0.7734 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.31, allocations: 10.53 MB / 0.7836 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/1.316, allocations: 402.2 kB / 0.784 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009314/1.317, allocations: 347.3 kB / 0.7843 GB, free: 206.5 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.006068/1.323, allocations: 3.75 MB / 0.788 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/1.324, allocations: 0.5298 MB / 0.7885 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.334, allocations: 5.849 MB / 0.7942 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/1.334, allocations: 18.52 kB / 0.7943 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.334, allocations: 4 kB / 0.7943 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.337, allocations: 0.9942 MB / 0.7952 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.338, allocations: 66.72 kB / 0.7953 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/1.341, allocations: 186 kB / 0.7955 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/1.341, allocations: 267.2 kB / 0.7957 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009912/1.351, allocations: 5.528 MB / 0.8011 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009206/1.361, allocations: 7.038 MB / 0.808 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002378/1.363, allocations: 1.948 MB / 0.8099 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005923/1.369, allocations: 3.435 MB / 0.8133 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of Backend: time 4.81e-07/1.369, allocations: 0 / 0.8133 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.38, allocations: 5.193 MB / 0.8183 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0326/1.412, allocations: 18.44 MB / 0.8363 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1268/1.539, allocations: 86.39 MB / 0.9207 GB, free: 81.55 MB / 0.5919 GB " [Timeout remaining time 658] 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.94380609691143] 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.5472859712317586 1.555975562 0.878756371 Calling exit ...