Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.001293/0.001293, allocations: 117.8 kB / 19.74 MB, free: 2.137 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.001479/0.001479, allocations: 187.6 kB / 23.02 MB, free: 4.953 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.489/1.489, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.05689/0.05689, allocations: 8.231 MB / 315.3 MB, free: 404 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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1")
translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 439.7 MB, free: 12.2 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1225, allocations: 54.39 MB / 494.1 MB, free: 5.711 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.004481/0.127, allocations: 2.686 MB / 496.8 MB, free: 3.004 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003079/0.1301, allocations: 1.39 MB / 498.2 MB, free: 1.609 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1303, allocations: 4 kB / 498.2 MB, free: 1.605 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.1309, allocations: 255 kB / 498.5 MB, free: 1.355 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.1315, allocations: 262.8 kB / 498.7 MB, free: 1.098 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.1336, allocations: 1.046 MB / 499.8 MB, free: 52 kB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007822/0.1344, allocations: 446.5 kB / 0.4885 GB, free: 15.61 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.1346, allocations: 48.91 kB / 0.4885 GB, free: 15.56 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.1348, allocations: 211.3 kB / 0.4887 GB, free: 15.36 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.1352, allocations: 319 kB / 0.489 GB, free: 15.04 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.1353, allocations: 36 kB / 0.4891 GB, free: 15.01 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.136, allocations: 315.7 kB / 0.4894 GB, free: 14.7 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.1362, allocations: 151.4 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.1365, allocations: 238.5 kB / 0.4897 GB, free: 14.32 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1375, allocations: 0.7316 MB / 0.4904 GB, free: 13.58 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1375, allocations: 4 kB / 0.4905 GB, free: 13.58 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.1375, allocations: 0 / 0.4905 GB, free: 13.58 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.311e-05/0.1375, allocations: 0 / 0.4905 GB, free: 13.58 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: 48
 * Number of variables: 48
Notification: Performance of Generate backend data structure: time 0.004574/0.1421, allocations: 1.309 MB / 0.4917 GB, free: 12.22 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.1422, allocations: 15.89 kB / 0.4917 GB, free: 12.21 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.1423, allocations: 68.52 kB / 0.4918 GB, free: 12.14 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.1432, allocations: 418.5 kB / 0.4922 GB, free: 11.71 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.1432, allocations: 12.38 kB / 0.4922 GB, free: 11.7 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.1433, allocations: 24.38 kB / 0.4922 GB, free: 11.67 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.1441, allocations: 414.1 kB / 0.4926 GB, free: 11.25 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1442, allocations: 0 / 0.4926 GB, free: 11.25 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.1442, allocations: 8 kB / 0.4926 GB, free: 11.25 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1442, allocations: 8 kB / 0.4927 GB, free: 11.24 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.1449, allocations: 348.2 kB / 0.493 GB, free: 10.9 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.1468, allocations: 1.084 MB / 0.494 GB, free: 9.746 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/0.1477, allocations: 375 kB / 0.4944 GB, free: 9.371 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.1482, allocations: 225 kB / 0.4946 GB, free: 9.148 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.1494, allocations: 0.6876 MB / 0.4953 GB, free: 8.441 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007607/0.1502, allocations: 496.5 kB / 0.4958 GB, free: 7.914 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=40): time 2.083e-06/0.1502, allocations: 4 kB / 0.4958 GB, free: 7.91 MB / 366.1 MB
Notification: Performance of matching and sorting (n=40): time 0.003663/0.1539, allocations: 1.183 MB / 0.4969 GB, free: 6.703 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/0.1541, allocations: 251.5 kB / 0.4972 GB, free: 6.402 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.155, allocations: 0.6709 MB / 0.4978 GB, free: 5.719 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.155, allocations: 41.7 kB / 0.4979 GB, free: 5.672 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.1553, allocations: 264.7 kB / 0.4981 GB, free: 5.41 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.1555, allocations: 119 kB / 0.4982 GB, free: 5.293 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.1556, allocations: 94 kB / 0.4983 GB, free: 5.191 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002112/0.1558, allocations: 378.8 kB / 0.4987 GB, free: 4.812 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1562, allocations: 200.8 kB / 0.4989 GB, free: 4.617 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.1566, allocations: 310.8 kB / 0.4992 GB, free: 4.273 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.1604, allocations: 1.398 MB / 0.5005 GB, free: 2.789 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1604, allocations: 3.938 kB / 0.5005 GB, free: 2.785 MB / 366.1 MB
Notification: Performance of matching and sorting (n=60) (initialization): time 0.002/0.1624, allocations: 0.9156 MB / 0.5014 GB, free: 1.844 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.015e-05/0.1625, allocations: 80.88 kB / 0.5015 GB, free: 1.754 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1625, allocations: 0 / 0.5015 GB, free: 1.754 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.1641, allocations: 347.3 kB / 0.5018 GB, free: 1.402 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1643, allocations: 63.91 kB / 0.5019 GB, free: 1.34 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.1668, allocations: 2.161 MB / 0.504 GB, free: 15.03 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.1673, allocations: 87.72 kB / 0.5041 GB, free: 14.95 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.1674, allocations: 19.97 kB / 0.5041 GB, free: 14.93 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: 11
 * Number of states: 0 ()
 * Number of discrete variables: 20 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (42):
 * Single equations (assignments): 39
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,4)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.1679, allocations: 324.3 kB / 0.5044 GB, free: 14.59 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.168, allocations: 63.62 kB / 0.5045 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.1704, allocations: 1.021 MB / 0.5055 GB, free: 13.48 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1704, allocations: 4 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1704, allocations: 0 / 0.5055 GB, free: 13.48 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.1704, allocations: 3.984 kB / 0.5055 GB, free: 13.47 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.171, allocations: 0.5196 MB / 0.506 GB, free: 12.91 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.171, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1712, allocations: 28 kB / 0.506 GB, free: 12.88 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.1728, allocations: 414 kB / 0.5064 GB, free: 12.47 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.1728, allocations: 23.86 kB / 0.5064 GB, free: 12.45 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.1755, allocations: 2.282 MB / 0.5087 GB, free: 10.01 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1755, allocations: 3.938 kB / 0.5087 GB, free: 10.01 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.1778, allocations: 1.018 MB / 0.5097 GB, free: 8.953 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.1781, allocations: 123.4 kB / 0.5098 GB, free: 8.832 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1782, allocations: 24 kB / 0.5098 GB, free: 8.809 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.1787, allocations: 55.88 kB / 0.5099 GB, free: 8.754 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.1788, allocations: 43.88 kB / 0.5099 GB, free: 8.711 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.1789, allocations: 16 kB / 0.5099 GB, free: 8.695 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0006784/0.1795, allocations: 498.8 kB / 0.5104 GB, free: 8.211 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.1795, allocations: 0 / 0.5104 GB, free: 8.211 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0005874/0.1801, allocations: 143.9 kB / 0.5105 GB, free: 8.07 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout)
 * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (21):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,5)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003278/0.1804, allocations: 159.2 kB / 0.5107 GB, free: 7.906 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001631/0.1821, allocations: 0.7764 MB / 0.5114 GB, free: 7.094 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1821, allocations: 8.188 kB / 0.5114 GB, free: 7.086 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1831, allocations: 0.513 MB / 0.5119 GB, free: 6.535 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1835, allocations: 54.42 kB / 0.512 GB, free: 6.484 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1853, allocations: 1.083 MB / 0.5131 GB, free: 5.379 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.1858, allocations: 0.8755 MB / 0.5139 GB, free: 4.477 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001554/0.186, allocations: 63.19 kB / 0.514 GB, free: 4.41 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.1861, allocations: 35.44 kB / 0.514 GB, free: 4.375 MB / 382.1 MB
Notification: Performance of SimCode: time 9.12e-07/0.1861, allocations: 0 / 0.514 GB, free: 4.375 MB / 382.1 MB
Notification: Performance of Templates: time 0.2383/0.4244, allocations: 8.755 MB / 0.5225 GB, free: 35.31 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.112218228168786]
Failed to read output from testmodel.py, exit status != 0:
0.43263217341154814 0.44615130000000003 0.30599400200000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe710f557b0>