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.001407/0.001407, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001655/0.001655, allocations: 220.8 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.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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.04266/0.04266, allocations: 6.138 MB / 319.4 MB, free: 12.74 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.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.002289/0.002289, allocations: 47.92 kB / 444.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 55.02 MB / 500 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.005628/0.1482, allocations: 2.926 MB / 0.4911 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1507, allocations: 1.082 MB / 0.4921 GB, free: 9.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1509, allocations: 8 kB / 0.4922 GB, free: 9.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.1514, allocations: 155.1 kB / 0.4923 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000674/0.152, allocations: 246.5 kB / 0.4925 GB, free: 9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.1545, allocations: 1.185 MB / 0.4937 GB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.1553, allocations: 0.5096 MB / 0.4942 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1555, allocations: 76.64 kB / 0.4943 GB, free: 7.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.1557, allocations: 203.3 kB / 0.4945 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1561, allocations: 227 kB / 0.4947 GB, free: 6.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.734e-05/0.1562, allocations: 44 kB / 0.4947 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.1568, allocations: 307.7 kB / 0.495 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.1569, allocations: 87.61 kB / 0.4951 GB, free: 6.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.1571, allocations: 183.2 kB / 0.4953 GB, free: 6.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1581, allocations: 0.7046 MB / 0.496 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1581, allocations: 0 / 0.496 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1581, allocations: 0 / 0.496 GB, free: 5.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1581, allocations: 0 / 0.496 GB, free: 5.48 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.004736/0.1629, allocations: 1.259 MB / 0.4972 GB, free: 4.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1629, allocations: 8.031 kB / 0.4972 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1631, allocations: 52.66 kB / 0.4972 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.1636, allocations: 298.3 kB / 0.4975 GB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.1637, allocations: 54.92 kB / 0.4976 GB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.1638, allocations: 28.38 kB / 0.4976 GB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1649, allocations: 0.6236 MB / 0.4982 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1649, allocations: 0 / 0.4982 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.165, allocations: 12 kB / 0.4982 GB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.165, allocations: 8 kB / 0.4982 GB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009871/0.166, allocations: 0.4961 MB / 0.4987 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1687, allocations: 1.229 MB / 0.4999 GB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.17, allocations: 0.5219 MB / 0.5004 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/0.1706, allocations: 311.2 kB / 0.5007 GB, free: 428 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.1707, allocations: 8.328 kB / 0.5007 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.1719, allocations: 0.6925 MB / 0.5014 GB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.913e-06/0.1719, allocations: 0 / 0.5014 GB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.006233/0.1781, allocations: 1.854 MB / 0.5032 GB, free: 13.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.1783, allocations: 207.8 kB / 0.5034 GB, free: 13.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.1787, allocations: 316.5 kB / 0.5037 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.1788, allocations: 37.7 kB / 0.5038 GB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1789, allocations: 181 kB / 0.5039 GB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1791, allocations: 162.7 kB / 0.5041 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.1793, allocations: 106.1 kB / 0.5042 GB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1795, allocations: 350.7 kB / 0.5045 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.1801, allocations: 326.7 kB / 0.5048 GB, free: 12.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.1807, allocations: 413.1 kB / 0.5052 GB, free: 11.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008423/0.1892, allocations: 2.175 MB / 0.5074 GB, free: 9.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1892, allocations: 0 / 0.5074 GB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003802/0.193, allocations: 1.334 MB / 0.5087 GB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.193, allocations: 41.69 kB / 0.5087 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1931, allocations: 0 / 0.5087 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.1969, allocations: 0.9018 MB / 0.5096 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.1973, allocations: 79.83 kB / 0.5097 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.1994, allocations: 1.335 MB / 0.511 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.2, allocations: 83.67 kB / 0.511 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.2001, allocations: 27.98 kB / 0.5111 GB, free: 5.496 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.0004568/0.2005, allocations: 229.6 kB / 0.5113 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2006, allocations: 43.7 kB / 0.5113 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.2029, allocations: 1.129 MB / 0.5124 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2029, allocations: 4 kB / 0.5124 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2029, allocations: 4 kB / 0.5124 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2029, allocations: 7.984 kB / 0.5124 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.2035, allocations: 445.9 kB / 0.5129 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2035, allocations: 0 / 0.5129 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.2037, allocations: 39.92 kB / 0.5129 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/0.2075, allocations: 0.949 MB / 0.5138 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.2075, allocations: 19.98 kB / 0.5139 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.21, allocations: 1.483 MB / 0.5153 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.21, allocations: 0 / 0.5153 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2754/0.4854, allocations: 1.102 MB / 0.5164 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.4858, allocations: 124.2 kB / 0.5165 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4859, allocations: 23.12 kB / 0.5165 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.4865, allocations: 64.72 kB / 0.5166 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4866, allocations: 48.23 kB / 0.5166 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.4867, allocations: 22.16 kB / 0.5166 GB, free: 31.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.4869, allocations: 228.3 kB / 0.5169 GB, free: 31.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4869, allocations: 0 / 0.5169 GB, free: 31.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000477/0.4874, allocations: 145 kB / 0.517 GB, free: 31.51 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.0002535/0.4877, allocations: 144.2 kB / 0.5171 GB, free: 31.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4895, allocations: 0.9063 MB / 0.518 GB, free: 31.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4895, allocations: 0 / 0.518 GB, free: 31.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.4907, allocations: 0.519 MB / 0.5185 GB, free: 31.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4911, allocations: 50.61 kB / 0.5186 GB, free: 31.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4926, allocations: 0.8788 MB / 0.5194 GB, free: 30.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.4927, allocations: 201.6 kB / 0.5196 GB, free: 30.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.4929, allocations: 47.92 kB / 0.5197 GB, free: 30.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.493, allocations: 33.47 kB / 0.5197 GB, free: 30.74 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.493, allocations: 0 / 0.5197 GB, free: 30.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01704/0.51, allocations: 9.417 MB / 0.5289 GB, free: 29.23 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.507055051624775] Failed to read output from testmodel.py, exit status != 0: 0.5200148448348045 0.530815279 0.370250157 Calling exit ...