Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.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.001856/0.001856, allocations: 106.5 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.002215/0.002215, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.613/1.613, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.94 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2255, allocations: 53.35 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.01399/0.2395, allocations: 10.84 MB / 443.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.2472, allocations: 4.005 MB / 447.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.2483, allocations: 87.44 kB / 447.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.2503, allocations: 0.8772 MB / 448.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.2527, allocations: 1.095 MB / 449.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.254, allocations: 0.6265 MB / 449.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.2579, allocations: 3.827 MB / 453.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2601, allocations: 1.613 MB / 455.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.2623, allocations: 1.787 MB / 457.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.2648, allocations: 2.055 MB / 459.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005888/0.2654, allocations: 420 kB / 459.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.2664, allocations: 0.5155 MB / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.2676, allocations: 1.204 MB / 461.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.2693, allocations: 1.575 MB / 462.9 MB, free: 8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.2752, allocations: 5.566 MB / 468.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2752, allocations: 0 / 468.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2752, allocations: 0 / 468.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.338e-05/0.2753, allocations: 0 / 468.4 MB, free: 2.414 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.008315/0.2836, allocations: 3.94 MB / 472.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2837, allocations: 8.031 kB / 472.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.285, allocations: 462.5 kB / 472.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/0.2891, allocations: 1.986 MB / 474.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/0.2895, allocations: 0.526 MB / 475.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004824/0.29, allocations: 295.9 kB / 475.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006654/0.2966, allocations: 3.976 MB / 479.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.251e-05/0.2967, allocations: 7.953 kB / 479.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.297, allocations: 119.9 kB / 479.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.2971, allocations: 121.4 kB / 479.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005449/0.3026, allocations: 3.062 MB / 482.9 MB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.3252, allocations: 10.35 MB / 493.3 MB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.33, allocations: 1.82 MB / 495.1 MB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/0.3333, allocations: 1.215 MB / 496.3 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.3336, allocations: 45.28 kB / 496.4 MB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002784/0.3364, allocations: 1.328 MB / 497.7 MB, free: 4.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=153): time 5.731e-06/0.3364, allocations: 0 / 497.7 MB, free: 4.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=173): time 0.028/0.3644, allocations: 9.02 MB / 0.4948 GB, free: 11.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.3646, allocations: 334.4 kB / 0.4951 GB, free: 10.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.3676, allocations: 1.857 MB / 0.497 GB, free: 9.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.3677, allocations: 69.69 kB / 0.497 GB, free: 8.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.3692, allocations: 1.444 MB / 0.4984 GB, free: 7.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006636/0.3698, allocations: 0.6082 MB / 0.499 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007463/0.3706, allocations: 375.6 kB / 0.4994 GB, free: 6.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3707, allocations: 301.1 kB / 0.4997 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.3727, allocations: 1.028 MB / 0.5007 GB, free: 5.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/0.3752, allocations: 1.832 MB / 0.5025 GB, free: 3.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/0.3791, allocations: 2.616 MB / 0.505 GB, free: 264 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.3792, allocations: 4 kB / 0.505 GB, free: 260 kB / 414.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006525/0.3857, allocations: 3.513 MB / 0.5085 GB, free: 12.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3857, allocations: 12 kB / 0.5085 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.3857, allocations: 16 kB / 0.5085 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002832/0.3886, allocations: 1.061 MB / 0.5095 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.3901, allocations: 387.4 kB / 0.5099 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.4072, allocations: 15.06 MB / 0.5246 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.4093, allocations: 167.7 kB / 0.5248 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.4095, allocations: 76 kB / 0.5248 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003105/0.4126, allocations: 1.78 MB / 0.5266 GB, free: 9.414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002336/0.4149, allocations: 1.813 MB / 0.5283 GB, free: 7.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003828/0.4188, allocations: 2.597 MB / 0.5309 GB, free: 4.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.518e-06/0.4188, allocations: 4 kB / 0.5309 GB, free: 4.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.006347/0.4251, allocations: 3.497 MB / 0.5343 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4251, allocations: 15.94 kB / 0.5343 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4252, allocations: 16 kB / 0.5343 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1811/0.6063, allocations: 1.058 MB / 0.5354 GB, free: 99.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.608, allocations: 384.1 kB / 0.5357 GB, free: 99.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.6199, allocations: 15.07 MB / 0.5504 GB, free: 89.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.6219, allocations: 184 kB / 0.5506 GB, free: 89.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.622, allocations: 82.95 kB / 0.5507 GB, free: 89.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (221): * Single equations (assignments): 213 * 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.0004697/0.6225, allocations: 324.9 kB / 0.551 GB, free: 88.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.6227, allocations: 228.2 kB / 0.5512 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/0.6279, allocations: 3.234 MB / 0.5544 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6279, allocations: 8.312 kB / 0.5544 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6279, allocations: 0 / 0.5544 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/0.6289, allocations: 448.8 kB / 0.5548 GB, free: 87.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.6292, allocations: 41.86 kB / 0.5549 GB, free: 87.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.6303, allocations: 127.6 kB / 0.555 GB, free: 87.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.6306, allocations: 188.1 kB / 0.5552 GB, free: 87.56 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00577/0.6363, allocations: 3.453 MB / 0.5585 GB, free: 85.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004074/0.6404, allocations: 3.798 MB / 0.5622 GB, free: 82.72 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001144/0.6416, allocations: 1.061 MB / 0.5633 GB, free: 81.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.6429, allocations: 1.242 MB / 0.5645 GB, free: 80.4 MB / 446.1 MB Notification: Performance of Backend: time 3.9e-07/0.6429, allocations: 0 / 0.5645 GB, free: 80.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007589/0.6505, allocations: 5.245 MB / 0.5696 GB, free: 75.07 MB / 446.1 MB Notification: Performance of SimCode: time 0.007484/0.658, allocations: 6.502 MB / 0.576 GB, free: 68.59 MB / 446.1 MB Notification: Performance of Templates: time 0.06166/0.7197, allocations: 54.75 MB / 0.6294 GB, free: 14.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.733901578001678] 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.727505889000895 0.736554165 0.459113878 Calling exit ...