Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.777 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 55.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2029, allocations: 53.38 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02616/0.2291, allocations: 21.32 MB / 453.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.2421, allocations: 7.101 MB / 460.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.2439, allocations: 179 kB / 461 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.2471, allocations: 1.594 MB / 462.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004853/0.252, allocations: 2.349 MB / 464.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.2549, allocations: 1.475 MB / 466.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007393/0.2623, allocations: 7.269 MB / 473.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004274/0.2665, allocations: 3.173 MB / 476.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.2703, allocations: 3.302 MB / 480.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004821/0.2751, allocations: 4.013 MB / 484.2 MB, free: 2.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.2762, allocations: 0.8711 MB / 485 MB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.2784, allocations: 1.304 MB / 486.3 MB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.2804, allocations: 2.146 MB / 488.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.2836, allocations: 3.03 MB / 491.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.295, allocations: 11.59 MB / 0.4913 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.295, allocations: 4 kB / 0.4913 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.295, allocations: 4 kB / 0.4913 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001014/0.2951, allocations: 0 / 0.4913 GB, free: 15.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01603/0.3111, allocations: 7.539 MB / 0.4987 GB, free: 8.031 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3112, allocations: 8.031 kB / 0.4987 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.3174, allocations: 1.265 MB / 0.4999 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008629/0.326, allocations: 4.088 MB / 0.5039 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.3264, allocations: 431.8 kB / 0.5043 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009002/0.3273, allocations: 0.5625 MB / 0.5049 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.34, allocations: 7.56 MB / 0.5123 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.3401, allocations: 7.953 kB / 0.5123 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/0.3407, allocations: 240 kB / 0.5125 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002861/0.341, allocations: 255.3 kB / 0.5127 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.3517, allocations: 6.123 MB / 0.5187 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2021/0.5538, allocations: 20.3 MB / 0.5385 GB, free: 91.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/0.5609, allocations: 3.905 MB / 0.5424 GB, free: 91.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/0.5645, allocations: 2.287 MB / 0.5446 GB, free: 91.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.5751, allocations: 5.638 MB / 0.5501 GB, free: 88.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5751, allocations: 56.44 kB / 0.5501 GB, free: 88.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.21e-06/0.5751, allocations: 3.312 kB / 0.5502 GB, free: 88.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.02798/0.6031, allocations: 13.18 MB / 0.563 GB, free: 81.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.6031, allocations: 85.58 kB / 0.5631 GB, free: 81.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.6062, allocations: 3.069 MB / 0.5661 GB, free: 78.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.6063, allocations: 69.7 kB / 0.5662 GB, free: 78.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.6073, allocations: 2.783 MB / 0.5689 GB, free: 75.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000465/0.6078, allocations: 1.014 MB / 0.5699 GB, free: 74.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000816/0.6086, allocations: 0.6489 MB / 0.5705 GB, free: 74.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.064e-05/0.6086, allocations: 305.1 kB / 0.5708 GB, free: 73.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.6107, allocations: 1.538 MB / 0.5723 GB, free: 72.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/0.6132, allocations: 2.792 MB / 0.575 GB, free: 68.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/0.618, allocations: 4.595 MB / 0.5795 GB, free: 63.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.618, allocations: 8 kB / 0.5795 GB, free: 63.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007319/0.6253, allocations: 5.311 MB / 0.5847 GB, free: 58.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6253, allocations: 24.59 kB / 0.5847 GB, free: 58.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/0.6254, allocations: 40 kB / 0.5848 GB, free: 58.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.6268, allocations: 0.6967 MB / 0.5855 GB, free: 57.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.6297, allocations: 0.8502 MB / 0.5863 GB, free: 56.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/0.6374, allocations: 9.886 MB / 0.5959 GB, free: 46.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.6397, allocations: 223.7 kB / 0.5962 GB, free: 46.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.64, allocations: 171.9 kB / 0.5963 GB, free: 46.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001873/0.6419, allocations: 1.625 MB / 0.5979 GB, free: 44.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.6424, allocations: 381.6 kB / 0.5983 GB, free: 44.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006304/0.6487, allocations: 4.24 MB / 0.6024 GB, free: 39.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.6487, allocations: 15.89 kB / 0.6024 GB, free: 39.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6487, allocations: 0 / 0.6024 GB, free: 39.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.6501, allocations: 0.6693 MB / 0.6031 GB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/0.6506, allocations: 55.91 kB / 0.6031 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.6523, allocations: 171.8 kB / 0.6033 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.6527, allocations: 217.7 kB / 0.6035 GB, free: 38.69 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007895/0.6606, allocations: 4.325 MB / 0.6077 GB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006897/0.6675, allocations: 5.596 MB / 0.6132 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001832/0.6693, allocations: 1.505 MB / 0.6147 GB, free: 27.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002215/0.6715, allocations: 2.008 MB / 0.6166 GB, free: 25.17 MB / 446.1 MB Notification: Performance of Backend: time 4.41e-07/0.6715, allocations: 0 / 0.6166 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00533/0.6769, allocations: 3.34 MB / 0.6199 GB, free: 21.79 MB / 446.1 MB Notification: Performance of SimCode: time 0.01284/0.6897, allocations: 10.53 MB / 0.6302 GB, free: 11.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1036/0.7933, allocations: 64.03 MB / 0.6927 GB, free: 11.93 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.36704584799736] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeedE.phi', 'constantSpeedM.phi', 'smeeE.is[1]', 'smeeE.is[2]', 'smeeE.idq_dr[1]', 'smeeE.idq_rr[2]', 'smeeE.idq_sr[1]', 'smeeE.idq_sr[2]', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 0.8013549129973399 0.815690756 0.5175564020000001 Calling exit ...