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.001722/0.001722, allocations: 102.4 kB / 18.36 MB, free: 3.949 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.001975/0.001975, allocations: 186 kB / 21.54 MB, free: 0.7812 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.509/1.509, allocations: 225.6 MB / 250.2 MB, free: 13.54 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.05738/0.05738, allocations: 8.239 MB / 313.5 MB, free: 0.832 MB / 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.002028/0.002028, allocations: 67.91 kB / 437.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 54.36 MB / 491.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004906/0.1445, allocations: 3.24 MB / 494.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1469, allocations: 1.133 MB / 496.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.1471, allocations: 4 kB / 496.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.1475, allocations: 171 kB / 496.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006613/0.1482, allocations: 262.4 kB / 496.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.1508, allocations: 1.284 MB / 497.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.1515, allocations: 0.5058 MB / 498.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1517, allocations: 84.17 kB / 498.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.152, allocations: 207.2 kB / 498.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.1523, allocations: 254.9 kB / 498.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.1524, allocations: 44 kB / 498.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.153, allocations: 307.8 kB / 499.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.705e-05/0.1531, allocations: 87.62 kB / 499.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.1534, allocations: 234.8 kB / 499.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1544, allocations: 0.6891 MB / 0.4884 GB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1544, allocations: 0 / 0.4884 GB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1544, allocations: 3.938 kB / 0.4884 GB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.1544, allocations: 4 kB / 0.4884 GB, free: 14.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.004739/0.1591, allocations: 1.334 MB / 0.4898 GB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1592, allocations: 12.03 kB / 0.4898 GB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1593, allocations: 48.66 kB / 0.4898 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.1598, allocations: 355.6 kB / 0.4901 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.1599, allocations: 54.83 kB / 0.4902 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.16, allocations: 36.31 kB / 0.4902 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/0.1609, allocations: 480.8 kB / 0.4907 GB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1609, allocations: 0 / 0.4907 GB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.161, allocations: 12 kB / 0.4907 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.161, allocations: 7.938 kB / 0.4907 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.1619, allocations: 466 kB / 0.4912 GB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.1651, allocations: 1.976 MB / 0.4931 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1662, allocations: 486.7 kB / 0.4936 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.1667, allocations: 273.5 kB / 0.4938 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.1669, allocations: 93.41 kB / 0.4939 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009816/0.1679, allocations: 0.5398 MB / 0.4944 GB, free: 7.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.564e-06/0.1679, allocations: 0 / 0.4944 GB, free: 7.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00615/0.1741, allocations: 1.799 MB / 0.4962 GB, free: 5.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1742, allocations: 195.9 kB / 0.4964 GB, free: 5.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.1746, allocations: 324.4 kB / 0.4967 GB, free: 5.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.1747, allocations: 37.7 kB / 0.4967 GB, free: 5.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1748, allocations: 181 kB / 0.4969 GB, free: 5.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.175, allocations: 162.6 kB / 0.497 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.1752, allocations: 106.2 kB / 0.4971 GB, free: 4.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1754, allocations: 354.7 kB / 0.4975 GB, free: 4.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.176, allocations: 285 kB / 0.4978 GB, free: 4.141 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.1765, allocations: 358 kB / 0.4981 GB, free: 3.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008201/0.1847, allocations: 2.149 MB / 0.5002 GB, free: 1.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1848, allocations: 0 / 0.5002 GB, free: 1.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003612/0.1884, allocations: 1.258 MB / 0.5014 GB, free: 336 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.1884, allocations: 40.66 kB / 0.5015 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1884, allocations: 0 / 0.5015 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/0.1926, allocations: 0.8659 MB / 0.5023 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.1931, allocations: 75.89 kB / 0.5024 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.1953, allocations: 1.275 MB / 0.5036 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.1959, allocations: 83.67 kB / 0.5037 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.196, allocations: 23.98 kB / 0.5037 GB, free: 13.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: 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.0004093/0.1964, allocations: 231.1 kB / 0.5039 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1965, allocations: 43.77 kB / 0.504 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.1987, allocations: 1.037 MB / 0.505 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1987, allocations: 8 kB / 0.505 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1987, allocations: 3.984 kB / 0.505 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1987, allocations: 0 / 0.505 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/0.1995, allocations: 0.6346 MB / 0.5056 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1995, allocations: 0 / 0.5056 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.1997, allocations: 47.97 kB / 0.5057 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003875/0.2035, allocations: 0.9078 MB / 0.5066 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.2036, allocations: 23.92 kB / 0.5066 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.2059, allocations: 1.405 MB / 0.508 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2059, allocations: 4 kB / 0.508 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.208, allocations: 1.002 MB / 0.5089 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.2083, allocations: 204.6 kB / 0.5091 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2084, allocations: 24 kB / 0.5092 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.209, allocations: 63.92 kB / 0.5092 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.2091, allocations: 48.31 kB / 0.5093 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.2092, allocations: 27.98 kB / 0.5093 GB, free: 8.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003149/0.2095, allocations: 231 kB / 0.5095 GB, free: 7.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2095, allocations: 0 / 0.5095 GB, free: 7.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.2101, allocations: 143.9 kB / 0.5097 GB, free: 7.688 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.0002974/0.2104, allocations: 141.3 kB / 0.5098 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.2125, allocations: 0.8193 MB / 0.5106 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.2125, allocations: 4.125 kB / 0.5106 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.2137, allocations: 488.4 kB / 0.5111 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2141, allocations: 49.02 kB / 0.5111 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.2159, allocations: 0.8347 MB / 0.5119 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.2163, allocations: 0.8046 MB / 0.5127 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.2165, allocations: 47.25 kB / 0.5128 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2166, allocations: 39.42 kB / 0.5128 GB, free: 4.391 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.2166, allocations: 4 kB / 0.5128 GB, free: 4.387 MB / 382.1 MB Notification: Performance of Templates: time 0.3139/0.5305, allocations: 11.04 MB / 0.5236 GB, free: 37.82 MB / 382.1 MB " [Timeout remaining time 659] 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.444507730193436]