Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 111 kB / 17.8 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 183.8 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 246.4 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1466/0.1466, allocations: 8.085 MB / 306.7 MB, free: 2.672 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 423.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2302, allocations: 51.51 MB / 475.4 MB, free: 22.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004291/0.2346, allocations: 4.762 MB / 480.2 MB, free: 18.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.2387, allocations: 3.163 MB / 483.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.2393, allocations: 12.69 kB / 483.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007716/0.2401, allocations: 274.1 kB / 483.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.2414, allocations: 0.5448 MB / 484.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.2436, allocations: 1.482 MB / 485.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.2448, allocations: 1.135 MB / 486.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.2452, allocations: 307.9 kB / 487.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.2456, allocations: 453.3 kB / 487.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.2461, allocations: 0.5432 MB / 488 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.2463, allocations: 90.88 kB / 488.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.247, allocations: 413.2 kB / 488.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2472, allocations: 222.9 kB / 488.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.2475, allocations: 0.4999 MB / 489.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2487, allocations: 1.285 MB / 490.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2487, allocations: 0 / 490.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2487, allocations: 0 / 490.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2487, allocations: 0 / 490.5 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.008855/0.2576, allocations: 2.597 MB / 493.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2576, allocations: 13.52 kB / 493.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.2579, allocations: 115.8 kB / 493.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.2586, allocations: 0.5752 MB / 493.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.2587, allocations: 174 kB / 494 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2588, allocations: 79.31 kB / 494.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2603, allocations: 1.085 MB / 495.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2603, allocations: 0 / 495.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.2604, allocations: 30.22 kB / 495.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.2605, allocations: 15.84 kB / 495.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2618, allocations: 0.979 MB / 496.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.2657, allocations: 4.049 MB / 0.4885 GB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.2672, allocations: 1.591 MB / 0.4901 GB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.268, allocations: 0.7614 MB / 0.4908 GB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.2681, allocations: 28.95 kB / 0.4908 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.2695, allocations: 0.9957 MB / 0.4918 GB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 2.715e-06/0.2695, allocations: 4 kB / 0.4918 GB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02186/0.2914, allocations: 5.627 MB / 0.4973 GB, free: 9.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/0.2916, allocations: 252.3 kB / 0.4976 GB, free: 9.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.2924, allocations: 0.538 MB / 0.4981 GB, free: 9.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.2925, allocations: 61.81 kB / 0.4981 GB, free: 8.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.2928, allocations: 294.1 kB / 0.4984 GB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.2932, allocations: 412.4 kB / 0.4988 GB, free: 8.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.2936, allocations: 222.9 kB / 0.499 GB, free: 8.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2938, allocations: 390.7 kB / 0.4994 GB, free: 7.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.2949, allocations: 0.6547 MB / 0.5 GB, free: 7.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.2961, allocations: 0.7632 MB / 0.5008 GB, free: 6.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/0.3138, allocations: 4.78 MB / 0.5055 GB, free: 1.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3138, allocations: 0 / 0.5055 GB, free: 1.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004011/0.3178, allocations: 2.215 MB / 0.5076 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.3179, allocations: 41.69 kB / 0.5077 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3179, allocations: 0 / 0.5077 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008696/0.3266, allocations: 2.371 MB / 0.51 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.3273, allocations: 167.7 kB / 0.5101 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.3316, allocations: 2.254 MB / 0.5123 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.3327, allocations: 143.4 kB / 0.5125 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3329, allocations: 47.92 kB / 0.5125 GB, free: 10.13 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,$PRE.HVMV.tapChanger.abnormalUTime,varLoad4.degradedMode,$PRE.varLoad4.degradedMode,varLoad3.degradedMode,$PRE.varLoad3.degradedMode,varLoad2.degradedMode,$PRE.varLoad2.degradedMode,varLoad1.degradedMode,$PRE.varLoad1.degradedMode,HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.normalU,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0005451/0.3334, allocations: 311.7 kB / 0.5128 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.3337, allocations: 99.42 kB / 0.5129 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.3379, allocations: 2.412 MB / 0.5153 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.338, allocations: 12 kB / 0.5153 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.338, allocations: 4 kB / 0.5153 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.338, allocations: 11.91 kB / 0.5153 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006673/0.3447, allocations: 4.18 MB / 0.5194 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3447, allocations: 3.984 kB / 0.5194 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.3451, allocations: 123.8 kB / 0.5195 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008491/0.3536, allocations: 2.121 MB / 0.5216 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.3538, allocations: 31.98 kB / 0.5216 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/0.3585, allocations: 2.4 MB / 0.5239 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3585, allocations: 3.984 kB / 0.5239 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.3629, allocations: 2.431 MB / 0.5263 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.3635, allocations: 348.1 kB / 0.5266 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.3637, allocations: 35.94 kB / 0.5267 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/0.3647, allocations: 102.6 kB / 0.5268 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.3649, allocations: 101.2 kB / 0.5269 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.365, allocations: 47.92 kB / 0.5269 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.3656, allocations: 378.8 kB / 0.5273 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3656, allocations: 0 / 0.5273 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000807/0.3664, allocations: 327.8 kB / 0.5276 GB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode,varLoad1.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.3679, allocations: 479.6 kB / 0.5281 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00501/0.3729, allocations: 2.105 MB / 0.5301 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.373, allocations: 0.6562 kB / 0.5301 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.3765, allocations: 1.376 MB / 0.5315 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.3773, allocations: 137.7 kB / 0.5316 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.3805, allocations: 1.811 MB / 0.5334 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.3811, allocations: 0.9655 MB / 0.5343 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.3814, allocations: 87.34 kB / 0.5344 GB, free: 3.629 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3814, allocations: 0 / 0.5344 GB, free: 3.629 MB / 398.1 MB Notification: Performance of Templates: time 0.02097/0.4024, allocations: 16.2 MB / 0.5502 GB, free: 3.422 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.sim & ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.52445699297823] Failed to read output from testmodel.py, exit status != 0: 0.40941625693812966 0.42143672899999995 0.170296141 Calling exit ...