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.00117/0.00117, allocations: 109.6 kB / 16.57 MB, free: 6.258 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.001363/0.001363, allocations: 194.7 kB / 17.49 MB, free: 5.875 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.32/1.32, allocations: 222.9 MB / 241.2 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04922/0.04922, allocations: 8.089 MB / 299.4 MB, free: 6.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 361.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2097, allocations: 51.52 MB / 413.2 MB, free: 25.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002315/0.2121, allocations: 1.677 MB / 414.9 MB, free: 24.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.213, allocations: 0.6626 MB / 415.5 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.2131, allocations: 0 / 415.5 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.2133, allocations: 119.8 kB / 415.7 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.2135, allocations: 135.7 kB / 415.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2138, allocations: 79.86 kB / 415.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2139, allocations: 211.5 kB / 416.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.214, allocations: 12.98 kB / 416.1 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.2141, allocations: 99.75 kB / 416.2 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2143, allocations: 195.5 kB / 416.4 MB, free: 22.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.2143, allocations: 4 kB / 416.4 MB, free: 22.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2144, allocations: 75.94 kB / 416.5 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.384e-05/0.2145, allocations: 107.6 kB / 416.6 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.2146, allocations: 131.1 kB / 416.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2148, allocations: 229.6 kB / 416.9 MB, free: 22.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2148, allocations: 3.938 kB / 416.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2148, allocations: 0 / 416.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2148, allocations: 0 / 416.9 MB, free: 22.11 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.0006779/0.2155, allocations: 0.7023 MB / 417.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2155, allocations: 19.91 kB / 417.6 MB, free: 21.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.2156, allocations: 44.38 kB / 417.7 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.2159, allocations: 378.1 kB / 418 MB, free: 20.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2159, allocations: 4.375 kB / 418.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2159, allocations: 4.375 kB / 418.1 MB, free: 20.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.2163, allocations: 177.5 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2163, allocations: 0 / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.2163, allocations: 7.938 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2163, allocations: 0 / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.2165, allocations: 111.9 kB / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.2171, allocations: 0.5005 MB / 418.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.2173, allocations: 158.5 kB / 419 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.2175, allocations: 156.8 kB / 419.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2175, allocations: 0 / 419.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.2179, allocations: 367.6 kB / 419.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.2179, allocations: 0 / 419.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007493/0.2187, allocations: 0.5628 MB / 420.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2187, allocations: 225.6 kB / 420.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.2191, allocations: 0.5565 MB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2192, allocations: 33.7 kB / 420.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.2193, allocations: 196.1 kB / 421.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.2193, allocations: 43.5 kB / 421.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.2194, allocations: 45.64 kB / 421.2 MB, free: 17.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.2194, allocations: 362.7 kB / 421.5 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.2195, allocations: 91.95 kB / 421.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.2196, allocations: 119.9 kB / 421.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.2201, allocations: 0.6085 MB / 422.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2201, allocations: 0 / 422.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003372/0.2204, allocations: 428.3 kB / 422.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.2205, allocations: 71.42 kB / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2205, allocations: 3.984 kB / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2205, allocations: 0 / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.2206, allocations: 8 kB / 422.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2206, allocations: 8.062 kB / 422.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.2209, allocations: 54.28 kB / 422.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2209, allocations: 8 kB / 422.9 MB, free: 15.72 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.0002249/0.2211, allocations: 291.9 kB / 423.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.2212, allocations: 47.44 kB / 423.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.2212, allocations: 47.91 kB / 423.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2212, allocations: 0 / 423.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2212, allocations: 0 / 423.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2212, allocations: 4 kB / 423.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2214, allocations: 353.2 kB / 423.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2214, allocations: 0 / 423.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.2215, allocations: 7.938 kB / 423.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2215, allocations: 0 / 423.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.2215, allocations: 15.98 kB / 423.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2215, allocations: 0 / 423.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2215, allocations: 0 / 423.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.2221, allocations: 0.531 MB / 424.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.2222, allocations: 152.6 kB / 424.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.2223, allocations: 15.98 kB / 424.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2225, allocations: 39.95 kB / 424.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.2226, allocations: 23.97 kB / 424.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.2227, allocations: 19.97 kB / 424.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.223, allocations: 407.1 kB / 424.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.223, allocations: 4 kB / 424.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2232, allocations: 80.12 kB / 424.9 MB, free: 13.59 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.0001547/0.2234, allocations: 143.6 kB / 425.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2239, allocations: 478.5 kB / 425.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2239, allocations: 0 / 425.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.2242, allocations: 446.7 kB / 426 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.2245, allocations: 37.95 kB / 426 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.2254, allocations: 0.8389 MB / 426.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.2256, allocations: 0.8075 MB / 427.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.2256, allocations: 15.44 kB / 427.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2256, allocations: 0 / 427.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Templates: time 0.005411/0.231, allocations: 4.237 MB / 431.9 MB, free: 6.504 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)