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.001397/0.001397, allocations: 118.5 kB / 19.74 MB, free: 2.141 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.001661/0.001661, allocations: 223.3 kB / 23.05 MB, free: 4.941 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.03998/0.03998, allocations: 6.132 MB / 319.4 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.001515/0.001515, allocations: 51.92 kB / 445 MB, free: 4.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 55.03 MB / 0.4883 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.007267/0.13, allocations: 4.681 MB / 0.4929 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006704/0.1367, allocations: 3.433 MB / 0.4962 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.1372, allocations: 15.94 kB / 0.4962 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009143/0.1381, allocations: 282.2 kB / 0.4965 GB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.1397, allocations: 0.5709 MB / 0.4971 GB, free: 4.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.143, allocations: 1.493 MB / 0.4985 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.1447, allocations: 1.094 MB / 0.4996 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.1451, allocations: 215.5 kB / 0.4998 GB, free: 1.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.1457, allocations: 458.3 kB / 0.5002 GB, free: 1.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.1465, allocations: 0.5408 MB / 0.5008 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1466, allocations: 92 kB / 0.5009 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1478, allocations: 479.6 kB / 0.5013 GB, free: 396 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.148, allocations: 223.1 kB / 0.5015 GB, free: 172 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.1486, allocations: 489.7 kB / 0.502 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.1504, allocations: 1.339 MB / 0.5033 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1504, allocations: 0 / 0.5033 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1504, allocations: 4 kB / 0.5033 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1504, allocations: 3.938 kB / 0.5033 GB, free: 14.34 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.01054/0.161, allocations: 2.548 MB / 0.5058 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.161, allocations: 8.031 kB / 0.5058 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.1613, allocations: 120.3 kB / 0.5059 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/0.1622, allocations: 0.5137 MB / 0.5064 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.1623, allocations: 168.7 kB / 0.5066 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.1625, allocations: 79.94 kB / 0.5067 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.1644, allocations: 1.097 MB / 0.5077 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1644, allocations: 0 / 0.5077 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1645, allocations: 43.98 kB / 0.5078 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.1645, allocations: 16 kB / 0.5078 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.1663, allocations: 1.005 MB / 0.5088 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/0.1721, allocations: 3.205 MB / 0.5119 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.174, allocations: 1.149 MB / 0.513 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.1751, allocations: 0.6442 MB / 0.5136 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.1753, allocations: 20.97 kB / 0.5137 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.1769, allocations: 1.02 MB / 0.5147 GB, free: 2.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 2.524e-06/0.1769, allocations: 112 / 0.5147 GB, free: 2.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.3136/0.4905, allocations: 5.432 MB / 0.52 GB, free: 29.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.4906, allocations: 251.8 kB / 0.5202 GB, free: 28.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/0.4915, allocations: 0.5425 MB / 0.5207 GB, free: 28.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.4916, allocations: 58.44 kB / 0.5208 GB, free: 28.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.4918, allocations: 284.1 kB / 0.5211 GB, free: 28.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.4922, allocations: 413.2 kB / 0.5215 GB, free: 28.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.4926, allocations: 217.9 kB / 0.5217 GB, free: 28.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4927, allocations: 393.1 kB / 0.522 GB, free: 28.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4939, allocations: 0.6592 MB / 0.5227 GB, free: 28.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4951, allocations: 0.7716 MB / 0.5234 GB, free: 28.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.5135, allocations: 4.813 MB / 0.5281 GB, free: 27.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5135, allocations: 5.312 kB / 0.5281 GB, free: 27.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004582/0.5181, allocations: 2.149 MB / 0.5302 GB, free: 26.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.5182, allocations: 39.84 kB / 0.5303 GB, free: 26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5182, allocations: 0.7969 kB / 0.5303 GB, free: 26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009514/0.5277, allocations: 2.279 MB / 0.5325 GB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.5284, allocations: 162 kB / 0.5327 GB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/0.5327, allocations: 2.254 MB / 0.5349 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.5341, allocations: 152.4 kB / 0.535 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.5342, allocations: 44.36 kB / 0.535 GB, free: 24.19 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.0006664/0.5349, allocations: 294.7 kB / 0.5353 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.5351, allocations: 99.47 kB / 0.5354 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.539, allocations: 2.213 MB / 0.5376 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.539, allocations: 11.59 kB / 0.5376 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.539, allocations: 1.406 kB / 0.5376 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.539, allocations: 6.656 kB / 0.5376 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/0.5451, allocations: 3.99 MB / 0.5415 GB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5451, allocations: 0 / 0.5415 GB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.5455, allocations: 118.3 kB / 0.5416 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008172/0.5537, allocations: 2.136 MB / 0.5437 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.5539, allocations: 27.92 kB / 0.5437 GB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004089/0.558, allocations: 2.388 MB / 0.5461 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.558, allocations: 0 / 0.5461 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.5617, allocations: 2.239 MB / 0.5482 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/0.5622, allocations: 268.5 kB / 0.5485 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.5624, allocations: 43.34 kB / 0.5485 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.5633, allocations: 108.6 kB / 0.5486 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.5636, allocations: 100.2 kB / 0.5487 GB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/0.5636, allocations: 49.08 kB / 0.5488 GB, free: 16.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004038/0.564, allocations: 378.8 kB / 0.5491 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.564, allocations: 0 / 0.5491 GB, free: 15.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.5648, allocations: 344.2 kB / 0.5495 GB, free: 15.63 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.001671/0.5665, allocations: 0.523 MB / 0.55 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004368/0.5708, allocations: 1.928 MB / 0.5519 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5709, allocations: 4.656 kB / 0.5519 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.5738, allocations: 1.142 MB / 0.553 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.5746, allocations: 127.3 kB / 0.5531 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.5777, allocations: 1.809 MB / 0.5549 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.578, allocations: 0.9616 MB / 0.5558 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.5784, allocations: 126 kB / 0.5559 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.5786, allocations: 79.41 kB / 0.556 GB, free: 9.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5786, allocations: 0 / 0.556 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Templates: time 0.03516/0.6137, allocations: 23.45 MB / 0.5789 GB, free: 1.781 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: 5.918845474021509] Failed to read output from testmodel.py, exit status != 0: 0.622398265870288 0.6391468109999999 0.485267448 Calling exit ...