Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001271/0.001271, allocations: 116.1 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.001398/0.001398, allocations: 214.8 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.406/1.406, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.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-beta.om_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-beta.om_Modelica.Magnetic.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: 71.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2059, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02811/0.234, allocations: 24.92 MB / 457 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.2473, allocations: 7.432 MB / 464.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.2498, allocations: 143.5 kB / 464.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.2532, allocations: 1.649 MB / 466.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.2582, allocations: 2.357 MB / 468.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.2612, allocations: 1.507 MB / 470.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007738/0.2689, allocations: 7.258 MB / 477.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.2732, allocations: 3.169 MB / 480.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.277, allocations: 3.232 MB / 483.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004997/0.282, allocations: 4.024 MB / 487.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.2831, allocations: 0.8711 MB / 488.6 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.2852, allocations: 1.327 MB / 490 MB, free: 13.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.2872, allocations: 2.138 MB / 492.1 MB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003631/0.2908, allocations: 3.788 MB / 495.9 MB, free: 7.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.3024, allocations: 11.55 MB / 0.4956 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3024, allocations: 4 kB / 0.4956 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3024, allocations: 4 kB / 0.4956 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3025, allocations: 0 / 0.4956 GB, free: 11.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.0164/0.3189, allocations: 7.618 MB / 0.503 GB, free: 3.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.319, allocations: 8.031 kB / 0.503 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006101/0.3251, allocations: 1.269 MB / 0.5043 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008318/0.3334, allocations: 4.203 MB / 0.5084 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.3337, allocations: 423.8 kB / 0.5088 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008732/0.3346, allocations: 0.5586 MB / 0.5093 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.3467, allocations: 7.292 MB / 0.5164 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.3468, allocations: 7.953 kB / 0.5164 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000564/0.3473, allocations: 232 kB / 0.5167 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000285/0.3476, allocations: 271.3 kB / 0.5169 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.3584, allocations: 6.131 MB / 0.5229 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1915/0.5499, allocations: 23.56 MB / 0.5459 GB, free: 84.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006207/0.5562, allocations: 8.75 MB / 0.5545 GB, free: 77.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.5592, allocations: 2.292 MB / 0.5567 GB, free: 76.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009597/0.5688, allocations: 7.555 MB / 0.5641 GB, free: 72.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5689, allocations: 64 kB / 0.5641 GB, free: 72.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.158e-06/0.5689, allocations: 3.844 kB / 0.5641 GB, free: 72.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.02712/0.596, allocations: 13.9 MB / 0.5777 GB, free: 65.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.596, allocations: 85.89 kB / 0.5778 GB, free: 65.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.5994, allocations: 3.453 MB / 0.5812 GB, free: 62.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.5995, allocations: 73.7 kB / 0.5812 GB, free: 62.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.6006, allocations: 2.765 MB / 0.5839 GB, free: 59.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.601, allocations: 1.007 MB / 0.5849 GB, free: 58.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000764/0.6018, allocations: 0.6492 MB / 0.5856 GB, free: 58.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.6018, allocations: 305.1 kB / 0.5858 GB, free: 57.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.6039, allocations: 1.541 MB / 0.5873 GB, free: 56.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.6062, allocations: 2.761 MB / 0.59 GB, free: 52.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.6109, allocations: 4.599 MB / 0.5945 GB, free: 47.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.6109, allocations: 12 kB / 0.5945 GB, free: 47.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007077/0.618, allocations: 5.505 MB / 0.5999 GB, free: 42.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.618, allocations: 22.66 kB / 0.5999 GB, free: 42.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.618, allocations: 40 kB / 0.6 GB, free: 42.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.6193, allocations: 0.6869 MB / 0.6007 GB, free: 41.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.6221, allocations: 0.8502 MB / 0.6015 GB, free: 40.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.6297, allocations: 10.51 MB / 0.6117 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.6321, allocations: 219.7 kB / 0.612 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.6323, allocations: 172 kB / 0.6121 GB, free: 29.05 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.001967/0.6343, allocations: 1.621 MB / 0.6137 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005047/0.6348, allocations: 413.4 kB / 0.6141 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006216/0.641, allocations: 4.507 MB / 0.6185 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.641, allocations: 15.94 kB / 0.6185 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.641, allocations: 3.984 kB / 0.6185 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.6423, allocations: 0.7873 MB / 0.6193 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/0.6428, allocations: 55.91 kB / 0.6193 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.6445, allocations: 171.8 kB / 0.6195 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.6448, allocations: 217.8 kB / 0.6197 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007626/0.6525, allocations: 4.326 MB / 0.6239 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006728/0.6592, allocations: 5.637 MB / 0.6294 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001793/0.661, allocations: 1.508 MB / 0.6309 GB, free: 9.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002482/0.6635, allocations: 2.319 MB / 0.6332 GB, free: 7.254 MB / 446.1 MB Notification: Performance of Backend: time 3.11e-07/0.6635, allocations: 0 / 0.6332 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005347/0.6688, allocations: 3.49 MB / 0.6366 GB, free: 3.688 MB / 446.1 MB Notification: Performance of SimCode: time 0.01517/0.684, allocations: 10.81 MB / 0.6471 GB, free: 8.824 MB / 462.1 MB Notification: Performance of Templates: time 0.106/0.79, allocations: 61.8 MB / 0.7075 GB, free: 11.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.468203163705766] 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.798091767821461 0.81205831 0.5065449399999999 Calling exit ...