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.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.0007534/0.0007534, allocations: 80.44 kB / 20.73 MB, free: 3.84 MB / 18.57 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.0007566/0.0007566, allocations: 165.9 kB / 24 MB, free: 0.5625 MB / 18.57 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 0.8678/0.8678, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.02219/0.02219, allocations: 4.47 MB / 265.2 MB, free: 8.746 MB / 250.7 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.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 3.296e-06/3.296e-06, allocations: 4 kB / 390.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.701e-05, allocations: 5.375 kB / 390.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003091/0.003118, allocations: 2.934 MB / 393.8 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004293, allocations: 1.082 MB / 394.9 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.004401, allocations: 7.938 kB / 394.9 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.004716, allocations: 162.9 kB / 395.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.005115, allocations: 254.4 kB / 395.3 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.006176, allocations: 1.175 MB / 396.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.006596, allocations: 0.5173 MB / 397 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.006736, allocations: 93.28 kB / 397.1 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.006939, allocations: 287.4 kB / 397.4 MB, free: 356 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.007134, allocations: 191.4 kB / 397.6 MB, free: 164 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.007178, allocations: 44 kB / 397.6 MB, free: 120 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.007512, allocations: 307.5 kB / 397.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.007568, allocations: 91.59 kB / 398 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.007681, allocations: 159.5 kB / 398.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000582/0.008263, allocations: 0.7479 MB / 398.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.008266, allocations: 0 / 398.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008267, allocations: 0 / 398.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.008273, allocations: 0 / 398.9 MB, free: 14.82 MB / 330.7 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.002297/0.01057, allocations: 1.251 MB / 400.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.0106, allocations: 8.031 kB / 400.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.01069, allocations: 48.66 kB / 400.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.011, allocations: 293.6 kB / 400.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.01105, allocations: 54.92 kB / 400.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.01109, allocations: 32.38 kB / 400.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.01169, allocations: 0.6161 MB / 401.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.0117, allocations: 4.188 kB / 401.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.01174, allocations: 16.12 kB / 401.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01174, allocations: 8 kB / 401.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.01227, allocations: 0.5078 MB / 401.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.01372, allocations: 1.221 MB / 402.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.01438, allocations: 0.5249 MB / 403.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.01471, allocations: 311.2 kB / 403.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.343e-05/0.01479, allocations: 16.31 kB / 403.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.01539, allocations: 0.6811 MB / 404.5 MB, free: 8.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.804e-06/0.01539, allocations: 3.938 kB / 404.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.003109/0.0185, allocations: 1.856 MB / 406.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.01857, allocations: 195.9 kB / 406.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.0188, allocations: 324.4 kB / 406.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.01884, allocations: 37.7 kB / 406.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.01893, allocations: 181 kB / 407.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.01901, allocations: 162.6 kB / 407.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01913, allocations: 102.1 kB / 407.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.01923, allocations: 354.8 kB / 407.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.01956, allocations: 326.7 kB / 408 MB, free: 5.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.0199, allocations: 417.1 kB / 408.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.02373, allocations: 2.167 MB / 410.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.02373, allocations: 3.938 kB / 410.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001809/0.02554, allocations: 1.334 MB / 411.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.02558, allocations: 37.69 kB / 411.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02558, allocations: 0 / 411.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.02736, allocations: 0.9039 MB / 412.8 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.02751, allocations: 75.89 kB / 412.9 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1309/0.1584, allocations: 1.338 MB / 414.2 MB, free: 33.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.1589, allocations: 88.52 kB / 414.3 MB, free: 33.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.1589, allocations: 20.59 kB / 414.3 MB, free: 33.78 MB / 330.7 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.0002787/0.1592, allocations: 218.7 kB / 414.6 MB, free: 33.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.1593, allocations: 48.31 kB / 414.6 MB, free: 33.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.1606, allocations: 1.137 MB / 415.7 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1606, allocations: 6.453 kB / 415.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1606, allocations: 0 / 415.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1606, allocations: 2.578 kB / 415.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.161, allocations: 434.9 kB / 416.2 MB, free: 32.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.161, allocations: 2 kB / 416.2 MB, free: 32.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1611, allocations: 42.38 kB / 416.2 MB, free: 32.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.163, allocations: 0.9478 MB / 417.2 MB, free: 32.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.163, allocations: 18.73 kB / 417.2 MB, free: 32.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1642, allocations: 1.501 MB / 418.7 MB, free: 31.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1642, allocations: 1.797 kB / 418.7 MB, free: 31.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1654, allocations: 1.099 MB / 419.8 MB, free: 31.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.1655, allocations: 125.4 kB / 419.9 MB, free: 30.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.1656, allocations: 17.69 kB / 419.9 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.1658, allocations: 64.56 kB / 420 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.1659, allocations: 50.08 kB / 420 MB, free: 30.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.1659, allocations: 24.42 kB / 420.1 MB, free: 30.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1661, allocations: 227.9 kB / 420.3 MB, free: 30.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1661, allocations: 3.812 kB / 420.3 MB, free: 30.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000307/0.1664, allocations: 146.6 kB / 420.4 MB, free: 30.82 MB / 330.7 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.0001726/0.1666, allocations: 150.6 kB / 420.6 MB, free: 30.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.1677, allocations: 0.9032 MB / 421.5 MB, free: 30.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1677, allocations: 0 / 421.5 MB, free: 30.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.1683, allocations: 0.5202 MB / 422 MB, free: 30.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1686, allocations: 56.42 kB / 422.1 MB, free: 30.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.1695, allocations: 0.8881 MB / 422.9 MB, free: 29.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.1696, allocations: 198.4 kB / 423.1 MB, free: 29.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.1697, allocations: 39.3 kB / 423.2 MB, free: 29.41 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1697, allocations: 0 / 423.2 MB, free: 29.41 MB / 330.7 MB Notification: Performance of Templates: time 0.007389/0.1771, allocations: 7.487 MB / 430.7 MB, free: 27.09 MB / 330.7 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: 4.437251807190478] Failed to read output from testmodel.py, exit status != 0: 0.1826916178688407 0.18765815200000002 0.178016096 Calling exit ...