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.001063/0.001063, allocations: 80.06 kB / 20.76 MB, free: 3.73 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.001867/0.001867, allocations: 173 kB / 24.18 MB, free: 320 kB / 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 1.051/1.051, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.02491/0.02491, allocations: 4.481 MB / 265.6 MB, free: 8.449 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.583e-06/1.583e-06, allocations: 0 / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.227e-05, allocations: 2.312 kB / 283.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002462/0.002484, allocations: 1.745 MB / 285.4 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00352, allocations: 0.6311 MB / 286.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.003584, allocations: 7.938 kB / 286.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003709, allocations: 19.91 kB / 286.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.003856, allocations: 39.7 kB / 286.1 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.004211, allocations: 111.7 kB / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.004421, allocations: 179.5 kB / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.0045, allocations: 5.969 kB / 286.4 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.00464, allocations: 103.8 kB / 286.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.004778, allocations: 71.83 kB / 286.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.004803, allocations: 12 kB / 286.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.004973, allocations: 95.86 kB / 286.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.005036, allocations: 23.86 kB / 286.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.005101, allocations: 55.83 kB / 286.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005314, allocations: 183.5 kB / 286.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005316, allocations: 4 kB / 287 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005317, allocations: 0 / 287 MB, free: 3.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005321, allocations: 0 / 287 MB, free: 3.035 MB / 266.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.0004743/0.005796, allocations: 407.5 kB / 287.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.005827, allocations: 8.031 kB / 287.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.00588, allocations: 24.86 kB / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.006061, allocations: 157.5 kB / 287.5 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.006078, allocations: 4.375 kB / 287.5 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.006092, allocations: 4.375 kB / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.006308, allocations: 232.5 kB / 287.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.006315, allocations: 192 / 287.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.006328, allocations: 3.938 kB / 287.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.006335, allocations: 4 kB / 287.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.006405, allocations: 95.31 kB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.006707, allocations: 199 kB / 288.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.006802, allocations: 149.9 kB / 288.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.006867, allocations: 92.3 kB / 288.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.006873, allocations: 8 kB / 288.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.007115, allocations: 408.2 kB / 288.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.007116, allocations: 0 / 288.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002878/0.007404, allocations: 363.8 kB / 289.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.007483, allocations: 221.6 kB / 289.3 MB, free: 396 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007587, allocations: 162.6 kB / 289.4 MB, free: 220 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.007607, allocations: 33.69 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.007645, allocations: 92.12 kB / 289.6 MB, free: 84 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.007685, allocations: 51.75 kB / 289.6 MB, free: 32 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1801/0.1877, allocations: 33.69 kB / 289.6 MB, free: 22.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.1878, allocations: 331.8 kB / 290 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.1879, allocations: 86.66 kB / 290.1 MB, free: 21.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.1879, allocations: 139.6 kB / 290.2 MB, free: 21.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1881, allocations: 277.3 kB / 290.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1881, allocations: 0.5469 kB / 290.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001871/0.1883, allocations: 241.9 kB / 290.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.1883, allocations: 73.25 kB / 290.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1883, allocations: 0.5312 kB / 290.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1884, allocations: 1.969 kB / 290.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.1884, allocations: 15.36 kB / 290.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1884, allocations: 5.5 kB / 290.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1886, allocations: 35.38 kB / 290.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1886, allocations: 7.344 kB / 290.8 MB, free: 21.36 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.0001722/0.1887, allocations: 214.4 kB / 291 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.1888, allocations: 29.73 kB / 291.1 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.1888, allocations: 16.03 kB / 291.1 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1888, allocations: 1.375 kB / 291.1 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1888, allocations: 3.938 kB / 291.1 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1888, allocations: 2.422 kB / 291.1 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.1889, allocations: 103.3 kB / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1889, allocations: 1.297 kB / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.1889, allocations: 5.312 kB / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1889, allocations: 0.9844 kB / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1889, allocations: 9.719 kB / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.189, allocations: 2.469 kB / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.189, allocations: 0 / 291.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1892, allocations: 349.4 kB / 291.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1893, allocations: 28.03 kB / 291.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.1893, allocations: 17.28 kB / 291.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1894, allocations: 26.73 kB / 291.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.1895, allocations: 24.2 kB / 291.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1895, allocations: 10.5 kB / 291.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.16e-05/0.1895, allocations: 55.06 kB / 291.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1895, allocations: 1.062 kB / 291.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.1897, allocations: 64.12 kB / 291.8 MB, free: 20.88 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.0001394/0.1899, allocations: 126 kB / 291.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1901, allocations: 371.5 kB / 292.3 MB, free: 20.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1901, allocations: 2.844 kB / 292.3 MB, free: 20.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1902, allocations: 255.8 kB / 292.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1904, allocations: 28.7 kB / 292.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1909, allocations: 361.3 kB / 292.9 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.1909, allocations: 79.42 kB / 293 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.191, allocations: 14.06 kB / 293 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.1911, allocations: 114.8 kB / 293.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1911, allocations: 0 / 293.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of Templates: time 0.006095/0.1972, allocations: 3.688 MB / 296.8 MB, free: 19.66 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.830984835047275]