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.001305/0.001305, allocations: 113.1 kB / 21.86 MB, free: 80 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.001334/0.001334, allocations: 217.1 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.422/1.422, allocations: 230.5 MB / 258.8 MB, free: 8.098 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.002016/0.002016, allocations: 64.75 kB / 379.5 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2089, allocations: 53.37 MB / 432.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04661/0.2555, allocations: 41.58 MB / 474.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02219/0.2777, allocations: 11.41 MB / 485.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005484/0.2832, allocations: 358.2 kB / 486.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.3012, allocations: 7.979 MB / 494.2 MB, free: 9.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.3116, allocations: 3.743 MB / 497.9 MB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005626/0.3172, allocations: 2.363 MB / 0.4886 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01548/0.3327, allocations: 12.63 MB / 0.5009 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02223/0.3549, allocations: 15.76 MB / 0.5163 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008336/0.3633, allocations: 6.529 MB / 0.5227 GB, free: 132 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.3744, allocations: 7.342 MB / 0.5298 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003444/0.3778, allocations: 1.828 MB / 0.5316 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.3825, allocations: 2.265 MB / 0.5338 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003454/0.3859, allocations: 3.658 MB / 0.5374 GB, free: 1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2081/0.594, allocations: 7.096 MB / 0.5443 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01899/0.613, allocations: 24.23 MB / 0.568 GB, free: 25.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.613, allocations: 4.875 kB / 0.568 GB, free: 25.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.613, allocations: 0 / 0.568 GB, free: 25.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004329/0.6135, allocations: 0 / 0.568 GB, free: 25.3 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.03095/0.6444, allocations: 14.44 MB / 0.5821 GB, free: 17.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6444, allocations: 10.38 kB / 0.5821 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02631/0.6708, allocations: 5.214 MB / 0.5872 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.6841, allocations: 7.757 MB / 0.5948 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/0.6845, allocations: 0.8249 MB / 0.5956 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.6863, allocations: 1.088 MB / 0.5966 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02916/0.7154, allocations: 16.83 MB / 0.6131 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002269/0.7157, allocations: 15.91 kB / 0.6131 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/0.7169, allocations: 466.5 kB / 0.6135 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000592/0.7175, allocations: 0.5734 MB / 0.6141 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/0.7466, allocations: 14.78 MB / 0.6285 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/0.8473, allocations: 53.6 MB / 0.6809 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/0.8644, allocations: 7.571 MB / 0.6883 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005911/0.8703, allocations: 3.026 MB / 0.6912 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/0.889, allocations: 9.039 MB / 0.7001 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.8891, allocations: 69.56 kB / 0.7001 GB, free: 272 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=313): time 4.859e-06/0.8891, allocations: 0 / 0.7001 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=340): time 0.03529/0.9244, allocations: 16.31 MB / 0.7161 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.9244, allocations: 116.4 kB / 0.7162 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008074/0.9325, allocations: 5.191 MB / 0.7212 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.9329, allocations: 81.7 kB / 0.7213 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004109/0.937, allocations: 5.347 MB / 0.7265 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.9383, allocations: 1.253 MB / 0.7278 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/0.9403, allocations: 1.275 MB / 0.729 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9404, allocations: 309.1 kB / 0.7293 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004551/0.945, allocations: 2.643 MB / 0.7319 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006867/0.9518, allocations: 5.495 MB / 0.7372 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/0.9639, allocations: 8.514 MB / 0.7456 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.412e-05/0.9639, allocations: 28 kB / 0.7456 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01658/0.9805, allocations: 9.174 MB / 0.7545 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.9806, allocations: 44 kB / 0.7546 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.9807, allocations: 96 kB / 0.7547 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/0.9832, allocations: 0.9093 MB / 0.7556 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005148/0.9883, allocations: 1.479 MB / 0.757 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2212/1.209, allocations: 10.2 MB / 0.767 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/1.215, allocations: 400.3 kB / 0.7674 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/1.215, allocations: 342.5 kB / 0.7677 GB, free: 216.6 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.005258/1.22, allocations: 3.755 MB / 0.7714 GB, free: 216.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008636/1.221, allocations: 0.5332 MB / 0.7719 GB, free: 216.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008744/1.23, allocations: 5.692 MB / 0.7774 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/1.23, allocations: 22.55 kB / 0.7775 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.23, allocations: 0 / 0.7775 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.232, allocations: 0.9328 MB / 0.7784 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005915/1.232, allocations: 69.69 kB / 0.7784 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.235, allocations: 186.3 kB / 0.7786 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.235, allocations: 281.5 kB / 0.7789 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008599/1.244, allocations: 5.526 MB / 0.7843 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008296/1.252, allocations: 7.029 MB / 0.7911 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002331/1.254, allocations: 1.951 MB / 0.793 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004335/1.259, allocations: 3.443 MB / 0.7964 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of Backend: time 4.01e-07/1.259, allocations: 0 / 0.7964 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009088/1.268, allocations: 5.115 MB / 0.8014 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02715/1.295, allocations: 18.45 MB / 0.8194 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1271/1.422, allocations: 89.03 MB / 0.9064 GB, free: 101.5 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: 9.055019966093823] 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.429519085912034 1.4381860229999999 0.822852074 Calling exit ...