Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.001509/0.001509, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002144/0.003653, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001262/0.001262, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001878/0.00314, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.176/1.176, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.284, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.04354/0.04354, allocations: 4.475 MB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0172/0.06074, allocations: 2.085 MB / 250.5 MB, free: 8.281 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.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 251.7 MB, free: 7.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.165e-05, allocations: 5.828 kB / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002799/0.002831, allocations: 1.734 MB / 253.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008864/0.003717, allocations: 0.6233 MB / 254.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.003773, allocations: 7.938 kB / 254.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.943e-05/0.003863, allocations: 19.92 kB / 254.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.003947, allocations: 47.69 kB / 254.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.004202, allocations: 103.7 kB / 254.3 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.004404, allocations: 183.5 kB / 254.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.004474, allocations: 9.969 kB / 254.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.004636, allocations: 123.8 kB / 254.6 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.004758, allocations: 67.78 kB / 254.7 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.004784, allocations: 12 kB / 254.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.00492, allocations: 91.92 kB / 254.8 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.00498, allocations: 23.92 kB / 254.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.005032, allocations: 39.88 kB / 254.8 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.005231, allocations: 151.6 kB / 255 MB, free: 3.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-05/0.005249, allocations: 0 / 255 MB, free: 3.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.00525, allocations: 0 / 255 MB, free: 3.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.005268, allocations: 4 kB / 255 MB, free: 3.816 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005759/0.005844, allocations: 443.1 kB / 255.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.005876, allocations: 12.03 kB / 255.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.005935, allocations: 16.92 kB / 255.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.006131, allocations: 157.4 kB / 255.6 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.00615, allocations: 8.375 kB / 255.6 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.006166, allocations: 8.375 kB / 255.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.006388, allocations: 236.4 kB / 255.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006396, allocations: 4.188 kB / 255.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.00641, allocations: 7.922 kB / 255.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006417, allocations: 4 kB / 255.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.006492, allocations: 95.39 kB / 255.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.006773, allocations: 203 kB / 256.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.006889, allocations: 149.9 kB / 256.3 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.006965, allocations: 104.3 kB / 256.4 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-06/0.006972, allocations: 0 / 256.4 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.007258, allocations: 429.2 kB / 256.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.007261, allocations: 4 kB / 256.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003489/0.00761, allocations: 386.4 kB / 257.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.007722, allocations: 221.6 kB / 257.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.007841, allocations: 170.5 kB / 257.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.007869, allocations: 29.7 kB / 257.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.007914, allocations: 96.11 kB / 257.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.007955, allocations: 39.78 kB / 257.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.008014, allocations: 45.66 kB / 257.8 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.008112, allocations: 326.8 kB / 258.1 MB, free: 340 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.008174, allocations: 98.08 kB / 258.2 MB, free: 228 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.008255, allocations: 138.7 kB / 258.3 MB, free: 64 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.008465, allocations: 317.8 kB / 258.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.008468, allocations: 0 / 258.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001817/0.00865, allocations: 248.3 kB / 258.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6e-05/0.00871, allocations: 79.31 kB / 259 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.008715, allocations: 0 / 259 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.008725, allocations: 0 / 259 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.008793, allocations: 15.94 kB / 259 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.008797, allocations: 0 / 259 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.00892, allocations: 39.92 kB / 259 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.008933, allocations: 8 kB / 259 MB, free: 15.29 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real 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: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.009112, allocations: 203.2 kB / 259.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.009149, allocations: 31.95 kB / 259.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.009173, allocations: 17.8 kB / 259.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.009176, allocations: 7.922 kB / 259.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.009178, allocations: 0 / 259.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.009181, allocations: 4 kB / 259.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.009283, allocations: 105.8 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009284, allocations: 0 / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.009303, allocations: 8 kB / 259.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.009359, allocations: 23.89 kB / 259.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.009362, allocations: 4 kB / 259.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.009379, allocations: 15.92 kB / 259.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.00938, allocations: 0 / 259.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.009382, allocations: 3.938 kB / 259.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.009649, allocations: 361.3 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.009687, allocations: 16 kB / 259.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.009793, allocations: 35.91 kB / 259.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.009855, allocations: 19.97 kB / 259.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.009874, allocations: 8 kB / 259.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.009912, allocations: 45.75 kB / 259.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009912, allocations: 0 / 259.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.01008, allocations: 71.92 kB / 260 MB, free: 14.24 MB / 266.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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.01024, allocations: 120.3 kB / 260.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.01051, allocations: 386.4 kB / 260.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.01052, allocations: 4 kB / 260.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.01071, allocations: 278.2 kB / 260.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.01086, allocations: 47.91 kB / 260.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.01185, allocations: 362.2 kB / 261.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.0119, allocations: 75.56 kB / 261.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.01194, allocations: 12.48 kB / 261.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.01209, allocations: 115.3 kB / 261.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0121, allocations: 0 / 261.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.005495/0.01759, allocations: 3.706 MB / 265.1 MB, free: 9.051 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.906276024878025]