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.0007694/0.0007695, allocations: 89.22 kB / 16.71 MB, free: 6.637 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.000855/0.0008551, allocations: 179.1 kB / 17.62 MB, free: 6.16 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.293/1.293, allocations: 223.3 MB / 241.7 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04065/0.04065, allocations: 8.106 MB / 300.9 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003046, allocations: 8 kB / 364.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2126, allocations: 52.51 MB / 416.7 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.00154/0.2142, allocations: 1.345 MB / 418 MB, free: 23.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000891/0.2151, allocations: 0.6433 MB / 418.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.2152, allocations: 4 kB / 418.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2153, allocations: 115.8 kB / 418.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.2155, allocations: 135.7 kB / 418.9 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.2158, allocations: 83.83 kB / 419 MB, free: 22.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2159, allocations: 195.5 kB / 419.2 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.216, allocations: 20.91 kB / 419.2 MB, free: 22.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2162, allocations: 115.7 kB / 419.3 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.2163, allocations: 183.6 kB / 419.5 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2164, allocations: 8 kB / 419.5 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2165, allocations: 83.88 kB / 419.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.2166, allocations: 99.66 kB / 419.7 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.2167, allocations: 156.7 kB / 419.8 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2169, allocations: 225.8 kB / 420 MB, free: 21.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2169, allocations: 0 / 420 MB, free: 21.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2169, allocations: 0 / 420 MB, free: 21.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2169, allocations: 0 / 420 MB, free: 21.58 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.000591/0.2175, allocations: 0.653 MB / 420.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2175, allocations: 11.97 kB / 420.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.2176, allocations: 40.47 kB / 420.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.2179, allocations: 378.1 kB / 421.1 MB, free: 20.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2179, allocations: 4.375 kB / 421.1 MB, free: 20.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.218, allocations: 12.38 kB / 421.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2183, allocations: 177.5 kB / 421.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2183, allocations: 0 / 421.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.2183, allocations: 8 kB / 421.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2183, allocations: 0 / 421.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.2185, allocations: 111.9 kB / 421.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.2191, allocations: 0.5198 MB / 421.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2193, allocations: 162.5 kB / 422.1 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2195, allocations: 152.8 kB / 422.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.2195, allocations: 4 kB / 422.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.2199, allocations: 363.7 kB / 422.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.2199, allocations: 0 / 422.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007894/0.2207, allocations: 0.5706 MB / 423.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2208, allocations: 221.6 kB / 423.4 MB, free: 17.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.2212, allocations: 0.5603 MB / 424 MB, free: 17.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2213, allocations: 33.7 kB / 424 MB, free: 17.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.2214, allocations: 200.1 kB / 424.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.2214, allocations: 47.52 kB / 424.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.2214, allocations: 25.7 kB / 424.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.2215, allocations: 362.7 kB / 424.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.2216, allocations: 95.95 kB / 424.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2217, allocations: 113.7 kB / 424.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.2222, allocations: 0.6124 MB / 425.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2222, allocations: 8.031 kB / 425.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003498/0.2225, allocations: 428 kB / 425.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.2226, allocations: 71.39 kB / 425.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2226, allocations: 0 / 425.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2226, allocations: 0 / 425.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.2227, allocations: 11.98 kB / 425.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2227, allocations: 0 / 425.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.223, allocations: 59.95 kB / 426 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.223, allocations: 4 kB / 426 MB, free: 15.22 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.0002358/0.2232, allocations: 284.7 kB / 426.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.2233, allocations: 59.47 kB / 426.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.2234, allocations: 43.92 kB / 426.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2234, allocations: 3.938 kB / 426.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2234, allocations: 0 / 426.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2234, allocations: 0 / 426.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.2236, allocations: 345.3 kB / 426.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2236, allocations: 0 / 426.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.2236, allocations: 7.984 kB / 426.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2236, allocations: 3.938 kB / 426.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2237, allocations: 8 kB / 426.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2237, allocations: 8 kB / 426.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2237, allocations: 0 / 426.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.2243, allocations: 0.5387 MB / 427.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2244, allocations: 156.5 kB / 427.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.2245, allocations: 16 kB / 427.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.2247, allocations: 59.94 kB / 427.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.2248, allocations: 15.98 kB / 427.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.2249, allocations: 15.98 kB / 427.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.2252, allocations: 411.1 kB / 427.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2252, allocations: 0 / 427.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.2255, allocations: 80.11 kB / 428 MB, free: 13.07 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.0001575/0.2256, allocations: 147.5 kB / 428.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.2261, allocations: 470.6 kB / 428.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2261, allocations: 0 / 428.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.2265, allocations: 454.7 kB / 429.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2268, allocations: 33.62 kB / 429.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.2277, allocations: 0.8431 MB / 429.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.2279, allocations: 0.8075 MB / 430.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.2279, allocations: 19.44 kB / 430.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2279, allocations: 0 / 430.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Templates: time 0.005572/0.2335, allocations: 4.187 MB / 435 MB, free: 6.027 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)