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.001285/0.001285, allocations: 113.1 kB / 21.86 MB, free: 76 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: 215.6 kB / 25.14 MB, free: 3.586 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.426/1.426, allocations: 230.4 MB / 258.7 MB, free: 7.938 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.002/0.002, allocations: 63.89 kB / 379.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2216, allocations: 53.36 MB / 432.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04697/0.2685, allocations: 41.75 MB / 474.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.2915, allocations: 11.41 MB / 486 MB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006156/0.2977, allocations: 358.1 kB / 486.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01843/0.3161, allocations: 7.997 MB / 494.3 MB, free: 9.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3271, allocations: 3.74 MB / 498 MB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006926/0.3341, allocations: 2.368 MB / 0.4887 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02292/0.357, allocations: 12.64 MB / 0.501 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03243/0.3894, allocations: 14.72 MB / 0.5154 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008644/0.398, allocations: 6.529 MB / 0.5218 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.409, allocations: 7.35 MB / 0.529 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002856/0.4119, allocations: 1.828 MB / 0.5307 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.4161, allocations: 2.257 MB / 0.533 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00326/0.4194, allocations: 3.658 MB / 0.5365 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1942/0.6136, allocations: 7.096 MB / 0.5435 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.6318, allocations: 24.11 MB / 0.567 GB, free: 25.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6318, allocations: 2.312 kB / 0.567 GB, free: 25.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6318, allocations: 0 / 0.567 GB, free: 25.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004438/0.6323, allocations: 2.625 kB / 0.567 GB, free: 25.19 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.03264/0.6649, allocations: 14.44 MB / 0.5811 GB, free: 17.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6649, allocations: 9.906 kB / 0.5811 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02802/0.693, allocations: 5.215 MB / 0.5862 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.7064, allocations: 7.745 MB / 0.5938 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.7068, allocations: 0.8325 MB / 0.5946 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/0.7086, allocations: 1.085 MB / 0.5956 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/0.7369, allocations: 16.63 MB / 0.6119 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.7371, allocations: 27.28 kB / 0.6119 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/0.7384, allocations: 458.8 kB / 0.6123 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006033/0.739, allocations: 0.5812 MB / 0.6129 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/0.767, allocations: 14.78 MB / 0.6273 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08737/0.8543, allocations: 53.59 MB / 0.6797 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/0.8713, allocations: 7.564 MB / 0.6871 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/0.8768, allocations: 3.03 MB / 0.69 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/0.8938, allocations: 9.036 MB / 0.6988 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.8939, allocations: 73.55 kB / 0.6989 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=313): time 4.949e-06/0.8939, allocations: 3.938 kB / 0.6989 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=340): time 0.03547/0.9294, allocations: 16.34 MB / 0.7149 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.9295, allocations: 112.4 kB / 0.715 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/0.9374, allocations: 5.191 MB / 0.7201 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.9376, allocations: 81.7 kB / 0.7201 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003968/0.9416, allocations: 5.351 MB / 0.7254 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.9427, allocations: 1.257 MB / 0.7266 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00204/0.9447, allocations: 1.271 MB / 0.7278 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9448, allocations: 305.1 kB / 0.7281 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004527/0.9493, allocations: 2.644 MB / 0.7307 GB, free: 464 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006874/0.9562, allocations: 5.444 MB / 0.736 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.9679, allocations: 8.515 MB / 0.7443 GB, free: 280 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.841e-05/0.968, allocations: 28 kB / 0.7444 GB, free: 252 kB / 0.5762 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01668/0.9847, allocations: 9.165 MB / 0.7533 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.9847, allocations: 48 kB / 0.7534 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.9848, allocations: 92 kB / 0.7534 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.9874, allocations: 0.9124 MB / 0.7543 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/0.9926, allocations: 1.481 MB / 0.7558 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2089/1.202, allocations: 10.2 MB / 0.7657 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/1.207, allocations: 404.3 kB / 0.7661 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006284/1.208, allocations: 339.6 kB / 0.7664 GB, free: 215.2 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.005507/1.213, allocations: 3.755 MB / 0.7701 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.214, allocations: 0.5288 MB / 0.7706 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009428/1.224, allocations: 5.691 MB / 0.7762 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/1.224, allocations: 15.8 kB / 0.7762 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.224, allocations: 1.906 kB / 0.7762 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.226, allocations: 0.9356 MB / 0.7771 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/1.226, allocations: 62.81 kB / 0.7772 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/1.228, allocations: 189.6 kB / 0.7774 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/1.229, allocations: 285.9 kB / 0.7776 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009451/1.238, allocations: 5.53 MB / 0.783 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008635/1.247, allocations: 7.032 MB / 0.7899 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002411/1.249, allocations: 1.948 MB / 0.7918 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004358/1.254, allocations: 3.435 MB / 0.7952 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of Backend: time 3.1e-07/1.254, allocations: 3.188 kB / 0.7952 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009006/1.263, allocations: 5.107 MB / 0.8001 GB, free: 204 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02452/1.287, allocations: 18.46 MB / 0.8182 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1252/1.412, allocations: 89.01 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.920712233986706] 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.4203562610782683 1.428947518 0.794734086 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2665021810>