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.001356/0.001356, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001506/0.001506, allocations: 224 kB / 23.04 MB, free: 4.617 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.04774/0.04774, allocations: 6.132 MB / 319.3 MB, free: 12.75 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.001908/0.001908, allocations: 47.92 kB / 444.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1531, allocations: 55.03 MB / 500 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.007753/0.1609, allocations: 4.079 MB / 0.4922 GB, free: 9.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.1689, allocations: 3.332 MB / 0.4955 GB, free: 6.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.17, allocations: 12 kB / 0.4955 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.1714, allocations: 286.1 kB / 0.4958 GB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1742, allocations: 0.5592 MB / 0.4963 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.1783, allocations: 1.388 MB / 0.4977 GB, free: 3.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.1807, allocations: 1.082 MB / 0.4987 GB, free: 2.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006151/0.1813, allocations: 203.5 kB / 0.4989 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009917/0.1823, allocations: 466.3 kB / 0.4994 GB, free: 2.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.1836, allocations: 489.8 kB / 0.4998 GB, free: 1.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005206/0.1842, allocations: 92 kB / 0.4999 GB, free: 1.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.1861, allocations: 447.6 kB / 0.5003 GB, free: 1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000606/0.1867, allocations: 219.1 kB / 0.5005 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1877, allocations: 410 kB / 0.5009 GB, free: 392 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.1916, allocations: 1.343 MB / 0.5023 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1916, allocations: 0 / 0.5023 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1916, allocations: 8 kB / 0.5023 GB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.845e-05/0.1917, allocations: 3.938 kB / 0.5023 GB, free: 15.02 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.01154/0.2032, allocations: 2.533 MB / 0.5047 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.2032, allocations: 8.031 kB / 0.5047 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.2036, allocations: 116.3 kB / 0.5049 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2046, allocations: 0.5176 MB / 0.5054 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.2048, allocations: 172.7 kB / 0.5055 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.205, allocations: 79.94 kB / 0.5056 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.2082, allocations: 1.589 MB / 0.5072 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.2082, allocations: 4 kB / 0.5072 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.2083, allocations: 28 kB / 0.5072 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.2084, allocations: 20 kB / 0.5072 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.2107, allocations: 1.038 MB / 0.5082 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00636/0.217, allocations: 2.421 MB / 0.5106 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.2192, allocations: 1.186 MB / 0.5117 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.2204, allocations: 0.681 MB / 0.5124 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.2205, allocations: 20.98 kB / 0.5124 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.2227, allocations: 1.457 MB / 0.5138 GB, free: 2.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 4.348e-06/0.2227, allocations: 0 / 0.5138 GB, free: 2.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.3189/0.5416, allocations: 5.55 MB / 0.5193 GB, free: 29.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5417, allocations: 259.2 kB / 0.5195 GB, free: 29.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.5427, allocations: 0.5428 MB / 0.52 GB, free: 29.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.5429, allocations: 56.45 kB / 0.5201 GB, free: 29.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.5431, allocations: 280.8 kB / 0.5204 GB, free: 29.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.5434, allocations: 413.4 kB / 0.5208 GB, free: 29.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.5439, allocations: 222.5 kB / 0.521 GB, free: 29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.544, allocations: 394.3 kB / 0.5213 GB, free: 28.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.5453, allocations: 0.6946 MB / 0.522 GB, free: 28.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.5466, allocations: 0.8754 MB / 0.5229 GB, free: 28.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01906/0.5657, allocations: 4.817 MB / 0.5276 GB, free: 27.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.5657, allocations: 0 / 0.5276 GB, free: 27.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004565/0.5703, allocations: 2.228 MB / 0.5298 GB, free: 26.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.5703, allocations: 43.2 kB / 0.5298 GB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5703, allocations: 1.594 kB / 0.5298 GB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0098/0.5801, allocations: 2.314 MB / 0.5321 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.581, allocations: 161.2 kB / 0.5322 GB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.5857, allocations: 2.329 MB / 0.5345 GB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.587, allocations: 155.7 kB / 0.5346 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5871, allocations: 40.78 kB / 0.5347 GB, free: 24.31 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.0007356/0.5878, allocations: 293.5 kB / 0.535 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.588, allocations: 99.62 kB / 0.5351 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.5924, allocations: 2.302 MB / 0.5373 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5924, allocations: 12.59 kB / 0.5373 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5925, allocations: 0 / 0.5373 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.5925, allocations: 3.562 kB / 0.5373 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006614/0.5991, allocations: 3.692 MB / 0.5409 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5991, allocations: 0 / 0.5409 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.5995, allocations: 110.2 kB / 0.541 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008217/0.6077, allocations: 2.171 MB / 0.5431 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.608, allocations: 38.67 kB / 0.5432 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.6121, allocations: 2.48 MB / 0.5456 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6121, allocations: 0 / 0.5456 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.6157, allocations: 2.323 MB / 0.5479 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.6164, allocations: 275.5 kB / 0.5481 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.6165, allocations: 32 kB / 0.5482 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009287/0.6175, allocations: 110.7 kB / 0.5483 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.6177, allocations: 101.1 kB / 0.5484 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/0.6178, allocations: 51.97 kB / 0.5484 GB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000434/0.6182, allocations: 374.8 kB / 0.5488 GB, free: 15.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6182, allocations: 0 / 0.5488 GB, free: 15.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008412/0.619, allocations: 343.5 kB / 0.5491 GB, free: 15.15 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.001778/0.6208, allocations: 0.5508 MB / 0.5496 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004549/0.6254, allocations: 2.009 MB / 0.5516 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.6254, allocations: 0.6562 kB / 0.5516 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.6285, allocations: 1.182 MB / 0.5528 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.6295, allocations: 126.6 kB / 0.5529 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.6328, allocations: 1.853 MB / 0.5547 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.633, allocations: 377.4 kB / 0.5551 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.6334, allocations: 122.1 kB / 0.5552 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.6336, allocations: 75.41 kB / 0.5552 GB, free: 9.035 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6336, allocations: 0 / 0.5552 GB, free: 9.035 MB / 382.1 MB Notification: Performance of Templates: time 0.03363/0.6673, allocations: 20.83 MB / 0.5756 GB, free: 4.418 MB / 398.1 MB " [Timeout remaining time 659] 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: 6.405263407155871] Failed to read output from testmodel.py, exit status != 0: 0.6783985160291195 0.694862334 0.499759541 Calling exit ...