Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.001451/0.001451, allocations: 111.2 kB / 19.74 MB, free: 2.152 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.001546/0.001546, allocations: 186.3 kB / 23.03 MB, free: 5.016 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.521/1.521, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05722/0.05722, allocations: 8.237 MB / 315.3 MB, free: 372 kB / 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/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.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad")
translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.89 kB / 439.7 MB, free: 12.16 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 54.39 MB / 494.1 MB, free: 5.672 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.00511/0.1244, allocations: 3.24 MB / 497.4 MB, free: 2.41 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002289/0.1267, allocations: 1.125 MB / 498.5 MB, free: 1.281 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1268, allocations: 12 kB / 498.5 MB, free: 1.27 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.1273, allocations: 167 kB / 498.7 MB, free: 1.105 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006289/0.1279, allocations: 266.3 kB / 498.9 MB, free: 0.8438 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.1304, allocations: 1.282 MB / 0.4885 GB, free: 15.56 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007321/0.1311, allocations: 0.5174 MB / 0.489 GB, free: 15.04 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1313, allocations: 80.66 kB / 0.4891 GB, free: 14.96 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1315, allocations: 211.2 kB / 0.4893 GB, free: 14.75 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.1319, allocations: 254.9 kB / 0.4895 GB, free: 14.5 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.1319, allocations: 44 kB / 0.4896 GB, free: 14.46 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.1325, allocations: 303.8 kB / 0.4899 GB, free: 14.16 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1326, allocations: 95.59 kB / 0.4899 GB, free: 14.07 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.1329, allocations: 230.9 kB / 0.4902 GB, free: 13.84 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.1338, allocations: 0.7007 MB / 0.4908 GB, free: 13.14 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1338, allocations: 0 / 0.4908 GB, free: 13.14 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.222e-06/0.1338, allocations: 0 / 0.4908 GB, free: 13.14 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.023e-06/0.1338, allocations: 0 / 0.4908 GB, free: 13.14 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: 70
 * Number of variables: 70
Notification: Performance of Generate backend data structure: time 0.004723/0.1386, allocations: 1.259 MB / 0.4921 GB, free: 11.84 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1386, allocations: 11.89 kB / 0.4921 GB, free: 11.83 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1388, allocations: 52.66 kB / 0.4921 GB, free: 11.78 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.1393, allocations: 294.4 kB / 0.4924 GB, free: 11.46 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/0.1393, allocations: 58.86 kB / 0.4925 GB, free: 11.4 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1394, allocations: 32.38 kB / 0.4925 GB, free: 11.37 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1404, allocations: 494 kB / 0.493 GB, free: 10.88 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1404, allocations: 4 kB / 0.493 GB, free: 10.88 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.1405, allocations: 12 kB / 0.493 GB, free: 10.87 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1405, allocations: 8 kB / 0.493 GB, free: 10.86 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/0.1415, allocations: 478.4 kB / 0.4935 GB, free: 10.39 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.1447, allocations: 1.941 MB / 0.4954 GB, free: 8.281 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1459, allocations: 495.9 kB / 0.4958 GB, free: 7.781 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.1464, allocations: 269.5 kB / 0.4961 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.1465, allocations: 20.3 kB / 0.4961 GB, free: 7.496 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009938/0.1475, allocations: 0.5398 MB / 0.4966 GB, free: 6.918 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=51): time 2.415e-06/0.1475, allocations: 0 / 0.4966 GB, free: 6.918 MB / 366.1 MB
Notification: Performance of matching and sorting (n=51): time 0.006145/0.1537, allocations: 1.724 MB / 0.4983 GB, free: 5.18 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.1538, allocations: 203.9 kB / 0.4985 GB, free: 4.938 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.1542, allocations: 320.4 kB / 0.4988 GB, free: 4.617 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.1543, allocations: 41.7 kB / 0.4989 GB, free: 4.57 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1544, allocations: 173 kB / 0.499 GB, free: 4.398 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.1546, allocations: 162.6 kB / 0.4992 GB, free: 4.238 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.1548, allocations: 110.2 kB / 0.4993 GB, free: 4.125 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001686/0.155, allocations: 358.7 kB / 0.4996 GB, free: 3.766 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.1555, allocations: 293 kB / 0.4999 GB, free: 3.477 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.1561, allocations: 345.7 kB / 0.5002 GB, free: 3.129 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008211/0.1643, allocations: 2.163 MB / 0.5023 GB, free: 0.9258 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1643, allocations: 7.938 kB / 0.5023 GB, free: 0.918 MB / 366.1 MB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.003489/0.1678, allocations: 1.257 MB / 0.5036 GB, free: 15.64 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.1679, allocations: 38.94 kB / 0.5036 GB, free: 15.6 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1679, allocations: 4 kB / 0.5036 GB, free: 15.6 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/0.1716, allocations: 0.8627 MB / 0.5045 GB, free: 14.73 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1718, allocations: 79.83 kB / 0.5045 GB, free: 14.65 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.1738, allocations: 1.278 MB / 0.5058 GB, free: 13.34 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.1744, allocations: 91.61 kB / 0.5059 GB, free: 13.25 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.1745, allocations: 19.98 kB / 0.5059 GB, free: 13.23 MB / 382.1 MB
Warning: Assuming fixed start value for the following 3 variables:
         varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true )  \"Current tap position\" type: Integer
         varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true )  \"Time lag between the first change and the following tap\" type: Real
         varTra.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: 3
 * Number of states: 0 ()
 * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (46):
 * Single equations (assignments): 45
 * 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
   {(6,14)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003808/0.1749, allocations: 230.3 kB / 0.5061 GB, free: 12.99 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.175, allocations: 47.89 kB / 0.5062 GB, free: 12.94 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.1772, allocations: 1.051 MB / 0.5072 GB, free: 11.88 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1772, allocations: 4 kB / 0.5072 GB, free: 11.87 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1772, allocations: 0 / 0.5072 GB, free: 11.87 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1772, allocations: 3.984 kB / 0.5072 GB, free: 11.87 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.178, allocations: 0.6025 MB / 0.5078 GB, free: 11.22 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.178, allocations: 0 / 0.5078 GB, free: 11.22 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1782, allocations: 47.97 kB / 0.5078 GB, free: 11.18 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/0.182, allocations: 0.9083 MB / 0.5087 GB, free: 10.26 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.1821, allocations: 19.94 kB / 0.5087 GB, free: 10.24 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.1844, allocations: 1.405 MB / 0.5101 GB, free: 8.801 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1844, allocations: 0 / 0.5101 GB, free: 8.801 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.1865, allocations: 1.013 MB / 0.5111 GB, free: 7.766 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.1868, allocations: 119.5 kB / 0.5112 GB, free: 7.648 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.1869, allocations: 28.08 kB / 0.5112 GB, free: 7.621 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.1874, allocations: 75.86 kB / 0.5113 GB, free: 7.547 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.1876, allocations: 48.36 kB / 0.5113 GB, free: 7.5 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.1876, allocations: 19.98 kB / 0.5114 GB, free: 7.48 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0002981/0.1879, allocations: 235 kB / 0.5116 GB, free: 7.246 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1879, allocations: 0 / 0.5116 GB, free: 7.246 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0005141/0.1884, allocations: 140 kB / 0.5117 GB, free: 7.109 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode)
 * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (26):
 * Single equations (assignments): 25
 * 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
   {(6,16)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/0.1887, allocations: 139.2 kB / 0.5119 GB, free: 6.961 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.002075/0.1908, allocations: 0.8231 MB / 0.5127 GB, free: 6.125 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1908, allocations: 0 / 0.5127 GB, free: 6.125 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001333/0.1921, allocations: 0.4887 MB / 0.5131 GB, free: 5.621 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1926, allocations: 55.27 kB / 0.5132 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1942, allocations: 0.8307 MB / 0.514 GB, free: 4.719 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.1947, allocations: 0.8007 MB / 0.5148 GB, free: 3.895 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000157/0.1948, allocations: 51.25 kB / 0.5148 GB, free: 3.848 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1949, allocations: 35.42 kB / 0.5149 GB, free: 3.812 MB / 382.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1949, allocations: 3.938 kB / 0.5149 GB, free: 3.809 MB / 382.1 MB
Notification: Performance of Templates: time 0.2359/0.4308, allocations: 11.19 MB / 0.5258 GB, free: 35.81 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.386355416849256]
Failed to read output from testmodel.py, exit status != 0:
0.43906851951032877 0.45272012899999997 0.31645536900000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7b0e3d97b0>