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.001426/0.001426, allocations: 113.8 kB / 17.17 MB, free: 5.855 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.001459/0.001459, allocations: 212 kB / 20.14 MB, free: 2.898 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.658/1.658, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.05041/0.05041, allocations: 6.138 MB / 315.7 MB, free: 1.176 MB / 238.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.001596/0.001596, allocations: 45.47 kB / 439.7 MB, free: 40.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.124, allocations: 54.99 MB / 494.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.005528/0.1295, allocations: 4.669 MB / 499.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.1343, allocations: 3.334 MB / 0.4909 GB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.1355, allocations: 12 kB / 0.4909 GB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1368, allocations: 282.2 kB / 0.4912 GB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.1396, allocations: 0.5709 MB / 0.4918 GB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.1425, allocations: 1.482 MB / 0.4932 GB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.1445, allocations: 1.094 MB / 0.4943 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.145, allocations: 213.9 kB / 0.4945 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.1456, allocations: 462.3 kB / 0.4949 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008014/0.1464, allocations: 0.5368 MB / 0.4955 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.1466, allocations: 92 kB / 0.4955 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1479, allocations: 471.6 kB / 0.496 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.1482, allocations: 223.1 kB / 0.4962 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.1488, allocations: 0.4936 MB / 0.4967 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.1509, allocations: 1.331 MB / 0.498 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1509, allocations: 0 / 0.498 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1509, allocations: 0 / 0.498 GB, free: 10.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1509, allocations: 0 / 0.498 GB, free: 10.68 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.0114/0.1623, allocations: 2.62 MB / 0.5006 GB, free: 8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.1623, allocations: 8.031 kB / 0.5006 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.1627, allocations: 116.3 kB / 0.5007 GB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1638, allocations: 0.578 MB / 0.5012 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.164, allocations: 176.7 kB / 0.5014 GB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1641, allocations: 75.94 kB / 0.5015 GB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.1664, allocations: 1.081 MB / 0.5025 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1664, allocations: 0 / 0.5025 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1665, allocations: 36 kB / 0.5026 GB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.1666, allocations: 23.98 kB / 0.5026 GB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.1685, allocations: 0.9773 MB / 0.5035 GB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006442/0.175, allocations: 3.234 MB / 0.5067 GB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.1775, allocations: 1.436 MB / 0.5081 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.1786, allocations: 0.6311 MB / 0.5087 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.1788, allocations: 28.97 kB / 0.5087 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.1807, allocations: 1.003 MB / 0.5097 GB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 4.9e-06/0.1807, allocations: 7.938 kB / 0.5097 GB, free: 14.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.02435/0.205, allocations: 5.498 MB / 0.5151 GB, free: 8.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.2052, allocations: 256.3 kB / 0.5153 GB, free: 8.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.2061, allocations: 0.5419 MB / 0.5159 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.2063, allocations: 57.7 kB / 0.5159 GB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.2066, allocations: 290.2 kB / 0.5162 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.207, allocations: 408.5 kB / 0.5166 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.2074, allocations: 222.9 kB / 0.5168 GB, free: 6.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.2077, allocations: 394.7 kB / 0.5172 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2088, allocations: 0.6469 MB / 0.5178 GB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.2102, allocations: 0.7634 MB / 0.5186 GB, free: 5.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/0.2294, allocations: 4.78 MB / 0.5232 GB, free: 268 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2294, allocations: 0 / 0.5232 GB, free: 268 kB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004407/0.2338, allocations: 2.144 MB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.2338, allocations: 37.7 kB / 0.5254 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2339, allocations: 3.984 kB / 0.5254 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009983/0.2438, allocations: 2.277 MB / 0.5276 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.2447, allocations: 163.7 kB / 0.5277 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.25, allocations: 2.254 MB / 0.5299 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.2513, allocations: 151.3 kB / 0.5301 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.2514, allocations: 43.98 kB / 0.5301 GB, free: 9.125 MB / 398.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.0007674/0.2522, allocations: 299.6 kB / 0.5304 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.2525, allocations: 95.44 kB / 0.5305 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.2573, allocations: 2.197 MB / 0.5327 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.2573, allocations: 12 kB / 0.5327 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2573, allocations: 0 / 0.5327 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.2573, allocations: 11.98 kB / 0.5327 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/0.2651, allocations: 3.992 MB / 0.5366 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2651, allocations: 0 / 0.5366 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.2656, allocations: 115.8 kB / 0.5367 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009206/0.2748, allocations: 2.129 MB / 0.5388 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.2749, allocations: 31.98 kB / 0.5388 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/0.2803, allocations: 2.388 MB / 0.5411 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2803, allocations: 0 / 0.5411 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/0.2851, allocations: 2.216 MB / 0.5433 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.2858, allocations: 344.1 kB / 0.5436 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.2859, allocations: 36 kB / 0.5437 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.287, allocations: 103.9 kB / 0.5438 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.2873, allocations: 93.19 kB / 0.5438 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.2874, allocations: 63.8 kB / 0.5439 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006165/0.288, allocations: 382.8 kB / 0.5443 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.288, allocations: 0 / 0.5443 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009653/0.289, allocations: 343.7 kB / 0.5446 GB, free: 10.12 MB / 414.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.001893/0.2909, allocations: 0.5247 MB / 0.5451 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005509/0.2964, allocations: 1.906 MB / 0.547 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.2964, allocations: 4.656 kB / 0.547 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003748/0.3001, allocations: 1.129 MB / 0.5481 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.3011, allocations: 117.7 kB / 0.5482 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3047, allocations: 1.818 MB / 0.55 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.3054, allocations: 0.9694 MB / 0.5509 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000432/0.3058, allocations: 118.1 kB / 0.551 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.306, allocations: 75.41 kB / 0.5511 GB, free: 3.559 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.306, allocations: 0 / 0.5511 GB, free: 3.559 MB / 414.1 MB Notification: Performance of Templates: time 0.04072/0.3467, allocations: 22.45 MB / 0.573 GB, free: 13.2 MB / 446.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: 5.934604465961456] Failed to read output from testmodel.py, exit status != 0: 0.35553984716534615 0.36937161 0.21541547600000002 Calling exit ...