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.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.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 109.6 kB / 17.07 MB, free: 5.68 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.001192/0.001192, allocations: 196 kB / 18.01 MB, free: 5.02 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05329/0.05329, allocations: 8.093 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 59.91 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2247, allocations: 51.53 MB / 414.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002615/0.2274, allocations: 1.612 MB / 416.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2284, allocations: 0.618 MB / 416.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.2285, allocations: 0 / 416.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2287, allocations: 31.77 kB / 416.9 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.2289, allocations: 39.77 kB / 417 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.2293, allocations: 111.7 kB / 417.1 MB, free: 23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.2295, allocations: 203.5 kB / 417.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.2296, allocations: 16.95 kB / 417.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2297, allocations: 67.83 kB / 417.4 MB, free: 22.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2299, allocations: 91.64 kB / 417.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.2299, allocations: 12 kB / 417.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.23, allocations: 91.92 kB / 417.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.2301, allocations: 27.91 kB / 417.6 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.2302, allocations: 71.66 kB / 417.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.2304, allocations: 197.2 kB / 417.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2304, allocations: 0 / 417.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2304, allocations: 0 / 417.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.2304, allocations: 0 / 417.9 MB, free: 22.24 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.0005625/0.231, allocations: 498 kB / 418.3 MB, free: 21.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.231, allocations: 15.89 kB / 418.4 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.2311, allocations: 20.73 kB / 418.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2314, allocations: 232 kB / 418.6 MB, free: 21.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2314, allocations: 384 / 418.6 MB, free: 21.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.2315, allocations: 12.31 kB / 418.6 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2318, allocations: 137.5 kB / 418.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2318, allocations: 0 / 418.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2318, allocations: 0 / 418.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2318, allocations: 4 kB / 418.8 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.232, allocations: 75.95 kB / 418.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.2325, allocations: 384.5 kB / 419.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.2327, allocations: 110.6 kB / 419.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2329, allocations: 112.9 kB / 419.4 MB, free: 20.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2329, allocations: 3.938 kB / 419.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.2332, allocations: 328.2 kB / 419.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.2332, allocations: 0 / 419.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006789/0.2339, allocations: 383.2 kB / 420.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.234, allocations: 225.6 kB / 420.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.2341, allocations: 198.8 kB / 420.5 MB, free: 19.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2342, allocations: 25.7 kB / 420.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2342, allocations: 112.1 kB / 420.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2342, allocations: 39.52 kB / 420.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.2343, allocations: 37.7 kB / 420.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.2344, allocations: 326.8 kB / 421.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.2344, allocations: 59.91 kB / 421.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.2345, allocations: 69.69 kB / 421.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.2349, allocations: 465.7 kB / 421.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2349, allocations: 4.031 kB / 421.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002727/0.2352, allocations: 272.7 kB / 421.9 MB, free: 17.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.2353, allocations: 71.39 kB / 422 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2353, allocations: 0 / 422 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2353, allocations: 0 / 422 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.2354, allocations: 8 kB / 422 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2354, allocations: 4 kB / 422 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.2356, allocations: 56.02 kB / 422.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2357, allocations: 4 kB / 422.1 MB, free: 17.64 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.000183/0.2359, allocations: 224 kB / 422.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.2359, allocations: 15.91 kB / 422.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.2359, allocations: 17.88 kB / 422.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2359, allocations: 4 kB / 422.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2359, allocations: 4 kB / 422.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.236, allocations: 0 / 422.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.2361, allocations: 265.3 kB / 422.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2361, allocations: 0 / 422.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.2361, allocations: 7.938 kB / 422.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2361, allocations: 0 / 422.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2362, allocations: 15.98 kB / 422.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2362, allocations: 0 / 422.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2362, allocations: 0 / 422.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.2367, allocations: 394.7 kB / 423 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.2368, allocations: 124.8 kB / 423.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.2369, allocations: 12 kB / 423.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.2371, allocations: 47.94 kB / 423.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.2372, allocations: 15.98 kB / 423.2 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.2372, allocations: 23.97 kB / 423.2 MB, free: 16.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.2373, allocations: 148.2 kB / 423.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2373, allocations: 0 / 423.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.2376, allocations: 68 kB / 423.4 MB, free: 16.16 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.0001738/0.2378, allocations: 147.5 kB / 423.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.2382, allocations: 390.6 kB / 423.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2383, allocations: 0 / 423.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.2386, allocations: 402.8 kB / 424.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.2388, allocations: 35.67 kB / 424.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.2394, allocations: 316 kB / 424.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2395, allocations: 0.716 MB / 425.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.2396, allocations: 4.438 kB / 425.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.2396, allocations: 23.44 kB / 425.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2396, allocations: 0 / 425.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Templates: time 0.005414/0.245, allocations: 3.185 MB / 428.6 MB, free: 10.89 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile (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=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)