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.001081/0.001081, allocations: 89.77 kB / 16.71 MB, free: 6.617 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.001333/0.001333, allocations: 179 kB / 17.62 MB, free: 6.152 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.362/1.362, allocations: 223.3 MB / 241.7 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04067/0.04067, allocations: 8.099 MB / 300.9 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004499, allocations: 4 kB / 364.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 52.51 MB / 416.7 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001465/0.2305, allocations: 1.345 MB / 418 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.2314, allocations: 0.6394 MB / 418.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.2315, allocations: 4 kB / 418.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2316, allocations: 27.83 kB / 418.7 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.2318, allocations: 31.77 kB / 418.7 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.2321, allocations: 91.83 kB / 418.8 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2323, allocations: 151.6 kB / 418.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.2324, allocations: 20.95 kB / 419 MB, free: 22.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.2325, allocations: 71.75 kB / 419 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2326, allocations: 71.72 kB / 419.1 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2326, allocations: 8 kB / 419.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2327, allocations: 83.86 kB / 419.2 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.2328, allocations: 19.92 kB / 419.2 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.2329, allocations: 93.34 kB / 419.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.233, allocations: 125.7 kB / 419.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.233, allocations: 0 / 419.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.233, allocations: 0 / 419.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2331, allocations: 4 kB / 419.4 MB, free: 22.09 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.0004952/0.2336, allocations: 478.3 kB / 419.9 MB, free: 21.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2336, allocations: 19.91 kB / 419.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.2337, allocations: 20.75 kB / 419.9 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2339, allocations: 224 kB / 420.2 MB, free: 21.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2339, allocations: 4.375 kB / 420.2 MB, free: 21.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.2339, allocations: 8.375 kB / 420.2 MB, free: 21.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2342, allocations: 145.5 kB / 420.3 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2342, allocations: 0 / 420.3 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2343, allocations: 4 kB / 420.3 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2343, allocations: 0 / 420.3 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.2345, allocations: 67.95 kB / 420.4 MB, free: 21.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.235, allocations: 408.5 kB / 420.8 MB, free: 20.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2352, allocations: 114.5 kB / 420.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2354, allocations: 108.9 kB / 421 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2354, allocations: 0 / 421 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.2358, allocations: 327.7 kB / 421.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.704e-06/0.2358, allocations: 4 kB / 421.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007235/0.2365, allocations: 388.6 kB / 421.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2366, allocations: 221.6 kB / 421.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2368, allocations: 198.4 kB / 422.1 MB, free: 19.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2368, allocations: 29.7 kB / 422.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.2368, allocations: 108.1 kB / 422.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2369, allocations: 39.5 kB / 422.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2369, allocations: 29.7 kB / 422.3 MB, free: 18.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.237, allocations: 334.7 kB / 422.6 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.2371, allocations: 59.91 kB / 422.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.2372, allocations: 70.7 kB / 422.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.2376, allocations: 455.2 kB / 423.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2376, allocations: 0 / 423.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002883/0.2379, allocations: 280.3 kB / 423.5 MB, free: 17.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.238, allocations: 75.41 kB / 423.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.238, allocations: 4 kB / 423.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.238, allocations: 0 / 423.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.2381, allocations: 8 kB / 423.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2381, allocations: 0 / 423.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.2384, allocations: 60.03 kB / 423.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2384, allocations: 11.94 kB / 423.6 MB, free: 17.48 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.0002079/0.2386, allocations: 224 kB / 423.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2386, allocations: 23.81 kB / 423.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.2387, allocations: 17.86 kB / 423.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2387, allocations: 4 kB / 423.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2387, allocations: 0 / 423.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2387, allocations: 0 / 423.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2389, allocations: 265.3 kB / 424.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2389, allocations: 3.938 kB / 424.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.2389, allocations: 4 kB / 424.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2389, allocations: 0 / 424.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.2389, allocations: 15.98 kB / 424.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2389, allocations: 0 / 424.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.239, allocations: 0 / 424.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.2395, allocations: 396.1 kB / 424.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.2396, allocations: 124.8 kB / 424.7 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.2397, allocations: 12 kB / 424.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.24, allocations: 55.95 kB / 424.8 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.2401, allocations: 19.97 kB / 424.8 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.2401, allocations: 11.98 kB / 424.8 MB, free: 16.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.2402, allocations: 147.2 kB / 424.9 MB, free: 16.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2402, allocations: 0 / 424.9 MB, free: 16.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.2405, allocations: 64.12 kB / 425 MB, free: 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.000192/0.2407, allocations: 147.5 kB / 425.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004668/0.2412, allocations: 386.7 kB / 425.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2412, allocations: 4 kB / 425.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.2415, allocations: 414.7 kB / 425.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2418, allocations: 27.08 kB / 426 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.2424, allocations: 383.7 kB / 426.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.2425, allocations: 0.7202 MB / 427 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.2426, allocations: 11.44 kB / 427.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2426, allocations: 0 / 427.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of Templates: time 0.004079/0.2466, allocations: 2.371 MB / 429.4 MB, free: 11.46 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)