Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 109.7 kB / 17.08 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 196 kB / 18.02 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05192/0.05192, allocations: 8.084 MB / 300 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 363.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2157, allocations: 51.51 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002162/0.2179, allocations: 1.618 MB / 416.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.2188, allocations: 0.6219 MB / 416.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.2188, allocations: 0 / 416.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.219, allocations: 119.7 kB / 417 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.2192, allocations: 143.6 kB / 417.2 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.2195, allocations: 115.2 kB / 417.3 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.2198, allocations: 243.4 kB / 417.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2199, allocations: 24.95 kB / 417.6 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.22, allocations: 115.7 kB / 417.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2203, allocations: 191.6 kB / 417.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.2203, allocations: 12 kB / 417.9 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2204, allocations: 83.92 kB / 418 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.2205, allocations: 111.6 kB / 418.1 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2207, allocations: 150.9 kB / 418.2 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.221, allocations: 320.8 kB / 418.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.221, allocations: 0 / 418.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.221, allocations: 0 / 418.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.221, allocations: 0 / 418.5 MB, free: 21.61 MB / 302.1 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.0008114/0.2218, allocations: 0.6994 MB / 419.2 MB, free: 20.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2218, allocations: 11.89 kB / 419.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.2219, allocations: 48.38 kB / 419.3 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.2224, allocations: 374.1 kB / 419.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2224, allocations: 8.375 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.2224, allocations: 4.375 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2227, allocations: 178.2 kB / 419.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2227, allocations: 0 / 419.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2227, allocations: 4 kB / 419.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2228, allocations: 0 / 419.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.223, allocations: 119.8 kB / 420 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.2236, allocations: 0.5005 MB / 420.5 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2238, allocations: 162.5 kB / 420.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.224, allocations: 144.8 kB / 420.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.224, allocations: 4 kB / 420.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.2243, allocations: 367.7 kB / 421.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.2244, allocations: 0 / 421.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007758/0.2251, allocations: 0.5667 MB / 421.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2252, allocations: 221.6 kB / 421.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.2256, allocations: 0.5565 MB / 422.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2257, allocations: 33.69 kB / 422.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.2258, allocations: 192.1 kB / 422.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.2258, allocations: 47.5 kB / 422.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.2259, allocations: 37.7 kB / 422.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.2259, allocations: 366.7 kB / 423.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.226, allocations: 91.97 kB / 423.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2261, allocations: 113.7 kB / 423.3 MB, free: 16.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.2266, allocations: 0.6181 MB / 423.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2266, allocations: 3.938 kB / 423.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003443/0.227, allocations: 420.3 kB / 424.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.227, allocations: 75.38 kB / 424.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2271, allocations: 4.031 kB / 424.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2271, allocations: 0 / 424.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.2271, allocations: 8 kB / 424.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2272, allocations: 0 / 424.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2274, allocations: 55.84 kB / 424.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2274, allocations: 7.984 kB / 424.5 MB, free: 15.23 MB / 302.1 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.00024/0.2277, allocations: 284 kB / 424.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.2277, allocations: 55.38 kB / 424.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.2278, allocations: 51.91 kB / 424.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2278, allocations: 0 / 424.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2278, allocations: 0 / 424.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2278, allocations: 0 / 424.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.228, allocations: 357.2 kB / 425.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.228, allocations: 0 / 425.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.228, allocations: 0 / 425.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.228, allocations: 4 kB / 425.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.2281, allocations: 7.984 kB / 425.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2281, allocations: 4 kB / 425.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2281, allocations: 0 / 425.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.2287, allocations: 0.531 MB / 425.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2288, allocations: 152.6 kB / 425.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.2289, allocations: 19.94 kB / 425.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2291, allocations: 43.95 kB / 426 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.2292, allocations: 23.97 kB / 426 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2292, allocations: 15.97 kB / 426 MB, free: 13.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.2296, allocations: 415 kB / 426.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2296, allocations: 0 / 426.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000264/0.2299, allocations: 80.12 kB / 426.5 MB, free: 13.1 MB / 302.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: 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.0001511/0.23, allocations: 143.5 kB / 426.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004785/0.2305, allocations: 470.7 kB / 427.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2305, allocations: 0 / 427.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.2308, allocations: 450.7 kB / 427.6 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2311, allocations: 45.12 kB / 427.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.2319, allocations: 0.7107 MB / 428.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.2321, allocations: 0.815 MB / 429.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.2322, allocations: 41.92 kB / 429.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.2322, allocations: 19.44 kB / 429.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2322, allocations: 0 / 429.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Templates: time 0.006413/0.2386, allocations: 4.164 MB / 433.3 MB, free: 6.18 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)