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_LoadDump.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.001494/0.001494, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001946/0.001946, allocations: 207 kB / 24.48 MB, free: 4.035 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.389/1.389, allocations: 230.4 MB / 258.1 MB, free: 8.164 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_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") [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.001833/0.001833, allocations: 67.84 kB / 378.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2104, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.01502/0.2254, allocations: 12.46 MB / 444.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007536/0.2329, allocations: 4.231 MB / 448.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.234, allocations: 71.69 kB / 448.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.236, allocations: 0.9238 MB / 449.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.2382, allocations: 1.083 MB / 450.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.2394, allocations: 0.6395 MB / 451.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.2432, allocations: 3.807 MB / 455.3 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.2454, allocations: 1.617 MB / 456.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.2476, allocations: 1.709 MB / 458.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.2502, allocations: 2.074 MB / 460.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005498/0.2507, allocations: 432 kB / 461.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.2516, allocations: 0.5388 MB / 461.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.2528, allocations: 1.219 MB / 462.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.2546, allocations: 1.956 MB / 464.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.2601, allocations: 5.574 MB / 470.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2601, allocations: 0 / 470.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2601, allocations: 0 / 470.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.2602, allocations: 0 / 470.4 MB, free: 0.8516 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.007936/0.2681, allocations: 4.063 MB / 474.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2681, allocations: 8.031 kB / 474.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.2697, allocations: 498.4 kB / 475 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.2735, allocations: 2.105 MB / 477.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.2738, allocations: 380.4 kB / 477.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/0.2742, allocations: 291.9 kB / 477.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005992/0.2802, allocations: 3.716 MB / 481.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/0.2803, allocations: 11.89 kB / 481.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.2806, allocations: 120 kB / 481.6 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.2807, allocations: 121.4 kB / 481.7 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005293/0.286, allocations: 3.074 MB / 484.8 MB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.3041, allocations: 11.8 MB / 496.6 MB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.3075, allocations: 2.728 MB / 499.3 MB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.3097, allocations: 1.223 MB / 0.4888 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.3099, allocations: 130.3 kB / 0.4889 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.3117, allocations: 1.152 MB / 0.49 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=153): time 2.996e-06/0.3117, allocations: 4 kB / 0.49 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of matching and sorting (n=173): time 0.02095/0.3327, allocations: 9.42 MB / 0.4992 GB, free: 7.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.3329, allocations: 364.1 kB / 0.4996 GB, free: 6.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.3358, allocations: 2.112 MB / 0.5016 GB, free: 4.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.3359, allocations: 65.69 kB / 0.5017 GB, free: 4.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.3371, allocations: 1.422 MB / 0.5031 GB, free: 2.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.3376, allocations: 0.6004 MB / 0.5037 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000624/0.3382, allocations: 375.5 kB / 0.504 GB, free: 1.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3384, allocations: 305.1 kB / 0.5043 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.3401, allocations: 1.028 MB / 0.5053 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.3423, allocations: 1.605 MB / 0.5069 GB, free: 14.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.3462, allocations: 2.599 MB / 0.5094 GB, free: 11.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3462, allocations: 8 kB / 0.5094 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006044/0.3523, allocations: 3.52 MB / 0.5129 GB, free: 8.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3523, allocations: 15.94 kB / 0.5129 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.3523, allocations: 19.94 kB / 0.5129 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/0.355, allocations: 1.087 MB / 0.514 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.3565, allocations: 387.3 kB / 0.5143 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.3745, allocations: 16.08 MB / 0.5301 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.3772, allocations: 163.8 kB / 0.5302 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.3774, allocations: 80 kB / 0.5303 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004304/0.3817, allocations: 1.784 MB / 0.532 GB, free: 3.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003325/0.385, allocations: 1.594 MB / 0.5336 GB, free: 1.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.19/0.5751, allocations: 2.568 MB / 0.5361 GB, free: 97.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.946e-05/0.5751, allocations: 4.312 kB / 0.5361 GB, free: 97.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.005607/0.5807, allocations: 3.509 MB / 0.5395 GB, free: 97.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5807, allocations: 11.88 kB / 0.5395 GB, free: 97.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5808, allocations: 16.31 kB / 0.5395 GB, free: 97.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.5831, allocations: 1.074 MB / 0.5406 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.5845, allocations: 377.4 kB / 0.541 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.5958, allocations: 16.07 MB / 0.5566 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.5977, allocations: 180.5 kB / 0.5568 GB, free: 84.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.5978, allocations: 82.36 kB / 0.5569 GB, free: 84.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 4 systems {(4,14,100.0%), (1,12,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004007/0.5982, allocations: 329.7 kB / 0.5572 GB, free: 83.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.5985, allocations: 242.9 kB / 0.5574 GB, free: 83.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005175/0.6037, allocations: 3.256 MB / 0.5606 GB, free: 82.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.6037, allocations: 13.36 kB / 0.5606 GB, free: 82.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6037, allocations: 3.984 kB / 0.5606 GB, free: 82.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/0.6047, allocations: 0.5341 MB / 0.5612 GB, free: 82.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.605, allocations: 53.33 kB / 0.5612 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.6063, allocations: 126.2 kB / 0.5613 GB, free: 82.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.6066, allocations: 172.1 kB / 0.5615 GB, free: 82.45 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005859/0.6124, allocations: 3.485 MB / 0.5649 GB, free: 80.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00404/0.6165, allocations: 3.828 MB / 0.5686 GB, free: 76.55 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.6176, allocations: 1.054 MB / 0.5697 GB, free: 75.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.6191, allocations: 1.457 MB / 0.5711 GB, free: 74.02 MB / 446.1 MB Notification: Performance of Backend: time 2.71e-07/0.6191, allocations: 0 / 0.5711 GB, free: 74.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007322/0.6264, allocations: 5.388 MB / 0.5764 GB, free: 68.43 MB / 446.1 MB Notification: Performance of SimCode: time 0.007/0.6334, allocations: 6.611 MB / 0.5828 GB, free: 61.82 MB / 446.1 MB Notification: Performance of Templates: time 0.05857/0.692, allocations: 52.99 MB / 0.6346 GB, free: 9.293 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.486912212800235] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]', 'smee.lesigma.i', 'speed.phi', 'speed.w', 'voltageController.I.y'] 0.6991992499679327 0.709400853 0.44627833799999994 Calling exit ...