Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001788/0.001788, 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.002175/0.002175, 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.392/1.392, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001943/0.001943, allocations: 75.81 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2202, allocations: 53.3 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01381/0.2341, allocations: 11.62 MB / 443.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006673/0.2407, allocations: 3.956 MB / 447.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.2415, allocations: 59.75 kB / 447.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.2433, allocations: 0.8813 MB / 448.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.2453, allocations: 0.9784 MB / 449.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.2463, allocations: 0.518 MB / 450.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.2497, allocations: 3.234 MB / 453.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.2516, allocations: 1.473 MB / 454.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.2533, allocations: 1.456 MB / 456.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.2557, allocations: 1.856 MB / 458.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.2562, allocations: 388 kB / 458.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2572, allocations: 0.6206 MB / 459.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.2583, allocations: 1.087 MB / 460.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.26, allocations: 1.727 MB / 461.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.2654, allocations: 5.076 MB / 467 MB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.2654, allocations: 0 / 467 MB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2654, allocations: 4 kB / 467 MB, free: 4.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.465e-05/0.2655, allocations: 0 / 467 MB, free: 4.285 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007374/0.2729, allocations: 3.578 MB / 470.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2729, allocations: 8.031 kB / 470.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.2746, allocations: 462.7 kB / 471 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.2783, allocations: 1.875 MB / 472.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.2785, allocations: 193.1 kB / 473.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/0.279, allocations: 248 kB / 473.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.2845, allocations: 3.255 MB / 476.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/0.2845, allocations: 4 kB / 476.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.2848, allocations: 100 kB / 476.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.2849, allocations: 116.9 kB / 476.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.2897, allocations: 2.701 MB / 479.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.3064, allocations: 10.28 MB / 489.8 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.3088, allocations: 1.705 MB / 491.5 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.3107, allocations: 0.98 MB / 492.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/0.311, allocations: 211.2 kB / 492.7 MB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.311, allocations: 51.5 kB / 492.7 MB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.056e-06/0.311, allocations: 0 / 492.7 MB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01769/0.3287, allocations: 7.444 MB / 0.4884 GB, free: 2.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3288, allocations: 64.72 kB / 0.4885 GB, free: 2.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.3314, allocations: 1.893 MB / 0.4904 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.3315, allocations: 45.7 kB / 0.4904 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.3325, allocations: 1.28 MB / 0.4916 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.333, allocations: 491.8 kB / 0.4921 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.3335, allocations: 299.4 kB / 0.4924 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3336, allocations: 305.1 kB / 0.4927 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.335, allocations: 0.812 MB / 0.4935 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.3369, allocations: 1.319 MB / 0.4948 GB, free: 11.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.3403, allocations: 2.258 MB / 0.497 GB, free: 9.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.3403, allocations: 4 kB / 0.497 GB, free: 9.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005025/0.3454, allocations: 2.792 MB / 0.4997 GB, free: 6.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.3454, allocations: 16.06 kB / 0.4997 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.3454, allocations: 16 kB / 0.4997 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3464, allocations: 423.2 kB / 0.5001 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.348, allocations: 399.3 kB / 0.5005 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006754/0.3547, allocations: 5.798 MB / 0.5062 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.3562, allocations: 119.8 kB / 0.5063 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.3564, allocations: 75.98 kB / 0.5064 GB, free: 15.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001325/0.3577, allocations: 0.7935 MB / 0.5071 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.3581, allocations: 206.7 kB / 0.5073 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.3624, allocations: 2.391 MB / 0.5097 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.3625, allocations: 7.969 kB / 0.5097 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3625, allocations: 3.938 kB / 0.5097 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/0.3634, allocations: 455.6 kB / 0.5101 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.3637, allocations: 31.98 kB / 0.5102 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.3648, allocations: 107.9 kB / 0.5103 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.365, allocations: 101.1 kB / 0.5104 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0051/0.3701, allocations: 2.399 MB / 0.5127 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004955/0.3751, allocations: 3.089 MB / 0.5157 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00137/0.3764, allocations: 0.8183 MB / 0.5165 GB, free: 4.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001967/0.3784, allocations: 1.303 MB / 0.5178 GB, free: 3.32 MB / 430.1 MB Notification: Performance of Backend: time 1.8e-07/0.3784, allocations: 0 / 0.5178 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.3823, allocations: 1.803 MB / 0.5195 GB, free: 1.469 MB / 430.1 MB Notification: Performance of SimCode: time 0.008345/0.3906, allocations: 5.382 MB / 0.5248 GB, free: 12.03 MB / 446.1 MB Notification: Performance of Templates: time 0.2128/0.6034, allocations: 32.25 MB / 0.5563 GB, free: 93.07 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.371353405993432] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed.phi', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]'] 0.6108131282962859 0.618567407 0.35103801999999995 Calling exit ...