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.001194/0.001194, allocations: 111 kB / 17.8 MB, free: 5.273 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.001176/0.001176, allocations: 183.8 kB / 20.74 MB, free: 2.344 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.329/1.329, allocations: 222.9 MB / 246.4 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1462/0.1462, allocations: 8.079 MB / 306.7 MB, free: 2.703 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-master/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.001921/0.001921, allocations: 67.89 kB / 423.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2071, allocations: 51.52 MB / 475.4 MB, free: 22.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.00331/0.2105, allocations: 3.21 MB / 478.6 MB, free: 19.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.212, allocations: 1.104 MB / 479.7 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2121, allocations: 5.719 kB / 479.7 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.2125, allocations: 170.1 kB / 479.9 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.213, allocations: 258.8 kB / 480.1 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2147, allocations: 1.274 MB / 481.4 MB, free: 17.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.2152, allocations: 0.5351 MB / 481.9 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2154, allocations: 120.8 kB / 482.1 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2155, allocations: 202.4 kB / 482.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.2158, allocations: 255.9 kB / 482.5 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.2159, allocations: 43.59 kB / 482.6 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.2163, allocations: 312.5 kB / 482.9 MB, free: 16.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.2164, allocations: 84.59 kB / 482.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2166, allocations: 232.9 kB / 483.2 MB, free: 16.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.2172, allocations: 0.6935 MB / 483.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2173, allocations: 3.938 kB / 483.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2173, allocations: 1.062 kB / 483.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2173, allocations: 0 / 483.9 MB, free: 15.91 MB / 350.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.003982/0.2213, allocations: 1.329 MB / 485.2 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2213, allocations: 14.14 kB / 485.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2214, allocations: 50.84 kB / 485.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.2218, allocations: 351 kB / 485.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.2218, allocations: 58.94 kB / 485.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.2219, allocations: 30.09 kB / 485.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.2227, allocations: 481 kB / 486.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2227, allocations: 5.219 kB / 486.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.2227, allocations: 15.62 kB / 486.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2227, allocations: 6.625 kB / 486.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.2235, allocations: 464.5 kB / 486.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.2257, allocations: 1.973 MB / 488.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.2267, allocations: 0.5541 MB / 489.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.2272, allocations: 337 kB / 489.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.2273, allocations: 92.77 kB / 489.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007502/0.2281, allocations: 0.5348 MB / 490.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/0.2281, allocations: 1.344 kB / 490.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005513/0.2336, allocations: 1.899 MB / 492 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2337, allocations: 197.3 kB / 492.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.234, allocations: 317.5 kB / 492.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.234, allocations: 39.52 kB / 492.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.2341, allocations: 175.4 kB / 492.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.2342, allocations: 163.1 kB / 492.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.2344, allocations: 105.8 kB / 493 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.2344, allocations: 359.8 kB / 493.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.2349, allocations: 287.9 kB / 493.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.2353, allocations: 349.2 kB / 494 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00722/0.2426, allocations: 2.156 MB / 496.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2426, allocations: 0 / 496.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002876/0.2455, allocations: 1.297 MB / 497.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.2455, allocations: 37.69 kB / 497.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2455, allocations: 0 / 497.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/0.2488, allocations: 0.8666 MB / 498.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.2491, allocations: 75.89 kB / 498.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2504, allocations: 1.268 MB / 499.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.251, allocations: 87.67 kB / 499.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.251, allocations: 27.92 kB / 499.8 MB, free: 3.457 MB / 350.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.0002693/0.2513, allocations: 234.2 kB / 0.4883 GB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.2514, allocations: 43.77 kB / 0.4883 GB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.2531, allocations: 1.224 MB / 0.4895 GB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2531, allocations: 8 kB / 0.4895 GB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2531, allocations: 0 / 0.4895 GB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2531, allocations: 3.984 kB / 0.4895 GB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.2535, allocations: 0.6268 MB / 0.4901 GB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2535, allocations: 0 / 0.4901 GB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2537, allocations: 47.91 kB / 0.4902 GB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/0.2569, allocations: 0.9117 MB / 0.4911 GB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.257, allocations: 16 kB / 0.4911 GB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.2591, allocations: 1.413 MB / 0.4925 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2591, allocations: 0 / 0.4925 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.2611, allocations: 1.19 MB / 0.4936 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.2614, allocations: 188.7 kB / 0.4938 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/0.2615, allocations: 27.95 kB / 0.4938 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.262, allocations: 63.92 kB / 0.4939 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2622, allocations: 52.38 kB / 0.494 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.2622, allocations: 19.98 kB / 0.494 GB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.2625, allocations: 227.1 kB / 0.4942 GB, free: 13.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2625, allocations: 0 / 0.4942 GB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.2629, allocations: 143.9 kB / 0.4943 GB, free: 12.87 MB / 366.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.0002486/0.2632, allocations: 147.5 kB / 0.4945 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.2652, allocations: 0.9364 MB / 0.4954 GB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2652, allocations: 0 / 0.4954 GB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.2666, allocations: 0.6685 MB / 0.496 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.267, allocations: 54.22 kB / 0.4961 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2685, allocations: 0.8827 MB / 0.497 GB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.269, allocations: 0.8007 MB / 0.4977 GB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2691, allocations: 39.42 kB / 0.4978 GB, free: 9.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2691, allocations: 0 / 0.4978 GB, free: 9.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01018/0.2793, allocations: 7.27 MB / 0.5049 GB, free: 1.984 MB / 366.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: 6.6438217619434] Failed to read output from testmodel.py, exit status != 0: 0.28635849012061954 0.298791946 0.079033541 Calling exit ...