Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.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.001307/0.001307, allocations: 105.2 kB / 20.49 MB, free: 1.457 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.001415/0.001415, allocations: 222.1 kB / 23.81 MB, free: 4.648 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.432/1.432, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03648/0.03648, allocations: 6.131 MB / 320.1 MB, free: 12.96 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) 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(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder") translateModel(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 445.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09503, allocations: 55.03 MB / 0.489 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.006072/0.1011, allocations: 4.688 MB / 0.4936 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.1061, allocations: 3.433 MB / 0.497 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.1064, allocations: 15.94 kB / 0.497 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007012/0.1071, allocations: 282.2 kB / 0.4973 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.1083, allocations: 0.5671 MB / 0.4978 GB, free: 4.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.1112, allocations: 1.492 MB / 0.4993 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.1124, allocations: 1.09 MB / 0.5003 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.1128, allocations: 215.5 kB / 0.5005 GB, free: 1.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.1133, allocations: 466.3 kB / 0.501 GB, free: 1.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.114, allocations: 0.5407 MB / 0.5015 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1141, allocations: 96 kB / 0.5016 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007735/0.1149, allocations: 475.6 kB / 0.5021 GB, free: 404 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1151, allocations: 215.1 kB / 0.5023 GB, free: 188 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.1156, allocations: 0.4899 MB / 0.5027 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.1171, allocations: 1.339 MB / 0.5041 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1171, allocations: 0 / 0.5041 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1171, allocations: 0 / 0.5041 GB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1171, allocations: 0 / 0.5041 GB, free: 14.35 MB / 382.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.01018/0.1273, allocations: 2.552 MB / 0.5065 GB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1273, allocations: 12.03 kB / 0.5066 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.1275, allocations: 116.3 kB / 0.5067 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/0.1284, allocations: 0.5137 MB / 0.5072 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.1286, allocations: 168.7 kB / 0.5073 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1287, allocations: 79.94 kB / 0.5074 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1307, allocations: 1.101 MB / 0.5085 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1307, allocations: 0 / 0.5085 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.1308, allocations: 32 kB / 0.5085 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1308, allocations: 16 kB / 0.5085 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.1326, allocations: 1.009 MB / 0.5095 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.1381, allocations: 3.212 MB / 0.5127 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.14, allocations: 1.145 MB / 0.5138 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.1411, allocations: 0.6403 MB / 0.5144 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.1413, allocations: 28.95 kB / 0.5144 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.1429, allocations: 1.003 MB / 0.5154 GB, free: 2.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 2.395e-06/0.1429, allocations: 0 / 0.5154 GB, free: 2.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.1975/0.3405, allocations: 5.436 MB / 0.5207 GB, free: 29.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.3406, allocations: 258.1 kB / 0.521 GB, free: 29.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.3412, allocations: 0.5375 MB / 0.5215 GB, free: 28.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.865e-05/0.3413, allocations: 57.34 kB / 0.5215 GB, free: 28.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3414, allocations: 287.7 kB / 0.5218 GB, free: 28.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.3416, allocations: 409.7 kB / 0.5222 GB, free: 28.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.342, allocations: 222.6 kB / 0.5224 GB, free: 28.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3421, allocations: 391.3 kB / 0.5228 GB, free: 28.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3431, allocations: 0.659 MB / 0.5234 GB, free: 28.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.3442, allocations: 0.7692 MB / 0.5242 GB, free: 28.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/0.3615, allocations: 4.812 MB / 0.5289 GB, free: 27.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3615, allocations: 0 / 0.5289 GB, free: 27.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003666/0.3652, allocations: 2.154 MB / 0.531 GB, free: 26.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.3652, allocations: 40.73 kB / 0.531 GB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.3652, allocations: 3.938 kB / 0.531 GB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008586/0.3738, allocations: 2.279 MB / 0.5333 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.3744, allocations: 163.8 kB / 0.5334 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/0.3782, allocations: 2.255 MB / 0.5356 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/0.3792, allocations: 148 kB / 0.5358 GB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/0.3793, allocations: 44.91 kB / 0.5358 GB, free: 24.23 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.0004592/0.3797, allocations: 291.7 kB / 0.5361 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.3799, allocations: 101.5 kB / 0.5362 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.3836, allocations: 2.208 MB / 0.5383 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3836, allocations: 15.56 kB / 0.5383 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3836, allocations: 1.438 kB / 0.5383 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.3836, allocations: 6.469 kB / 0.5383 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.3892, allocations: 3.985 MB / 0.5422 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3892, allocations: 5.156 kB / 0.5422 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.3896, allocations: 113.5 kB / 0.5424 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008089/0.3977, allocations: 2.14 MB / 0.5444 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.3978, allocations: 32.34 kB / 0.5445 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.4017, allocations: 2.39 MB / 0.5468 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4017, allocations: 0 / 0.5468 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.4052, allocations: 2.236 MB / 0.549 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.4056, allocations: 271.8 kB / 0.5492 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.4058, allocations: 40.27 kB / 0.5493 GB, free: 16.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/0.4068, allocations: 109.8 kB / 0.5494 GB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.407, allocations: 101.1 kB / 0.5495 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/0.4071, allocations: 51.97 kB / 0.5495 GB, free: 16.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.4075, allocations: 374.8 kB / 0.5499 GB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4075, allocations: 0 / 0.5499 GB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007288/0.4082, allocations: 345 kB / 0.5502 GB, free: 15.64 MB / 382.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.001634/0.4098, allocations: 0.5258 MB / 0.5507 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004333/0.4142, allocations: 1.925 MB / 0.5526 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.4142, allocations: 4.656 kB / 0.5526 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.4172, allocations: 1.136 MB / 0.5537 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.4179, allocations: 120.1 kB / 0.5538 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.4207, allocations: 1.854 MB / 0.5557 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.421, allocations: 0.9733 MB / 0.5566 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.4212, allocations: 83.41 kB / 0.5567 GB, free: 9.188 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4212, allocations: 0 / 0.5567 GB, free: 9.188 MB / 382.1 MB Notification: Performance of Templates: time 0.01945/0.4407, allocations: 16.58 MB / 0.5729 GB, free: 8.609 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.sim & ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.61789289698936] Failed to read output from testmodel.py, exit status != 0: 0.44837691891007125 0.464217587 0.34398706700000004 Calling exit ...