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.001313/0.001313, allocations: 102.7 kB / 16.57 MB, free: 6.262 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.00157/0.001571, allocations: 193.6 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.335/1.335, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04726/0.04726, allocations: 8.098 MB / 299.4 MB, free: 6.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 361.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2204, allocations: 51.52 MB / 413.2 MB, free: 25.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002497/0.2229, allocations: 1.673 MB / 414.9 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.2239, allocations: 0.6587 MB / 415.5 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.224, allocations: 0 / 415.5 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2241, allocations: 27.89 kB / 415.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.2243, allocations: 31.83 kB / 415.6 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.2246, allocations: 87.84 kB / 415.7 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2247, allocations: 155.6 kB / 415.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2248, allocations: 16.98 kB / 415.8 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.2249, allocations: 67.75 kB / 415.9 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.225, allocations: 83.66 kB / 416 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.2251, allocations: 4 kB / 416 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2252, allocations: 75.92 kB / 416.1 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.2253, allocations: 23.92 kB / 416.1 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.2254, allocations: 75.56 kB / 416.2 MB, free: 23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2255, allocations: 125.9 kB / 416.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2255, allocations: 4 kB / 416.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2255, allocations: 0 / 416.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2256, allocations: 0 / 416.3 MB, free: 22.88 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.0005922/0.2262, allocations: 0.497 MB / 416.8 MB, free: 22.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2262, allocations: 15.97 kB / 416.8 MB, free: 22.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.2263, allocations: 16.75 kB / 416.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.2265, allocations: 228 kB / 417 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2265, allocations: 4.375 kB / 417 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.2265, allocations: 8.375 kB / 417.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2269, allocations: 144 kB / 417.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2269, allocations: 0 / 417.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2269, allocations: 4 kB / 417.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2269, allocations: 0 / 417.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2271, allocations: 75.88 kB / 417.3 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.2276, allocations: 388.6 kB / 417.7 MB, free: 21.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2278, allocations: 118.5 kB / 417.8 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.228, allocations: 104.9 kB / 417.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.228, allocations: 0 / 417.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.2284, allocations: 327.6 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.2284, allocations: 0 / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007208/0.2291, allocations: 388.7 kB / 418.6 MB, free: 20.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.2292, allocations: 221.6 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2294, allocations: 203.3 kB / 419 MB, free: 19.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2294, allocations: 33.7 kB / 419 MB, free: 19.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.2294, allocations: 108.2 kB / 419.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.2295, allocations: 39.45 kB / 419.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2295, allocations: 37.7 kB / 419.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.2296, allocations: 334.8 kB / 419.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.2297, allocations: 47.98 kB / 419.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.2298, allocations: 91.83 kB / 419.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.2302, allocations: 455.1 kB / 420.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2302, allocations: 0 / 420.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002736/0.2305, allocations: 268.7 kB / 420.4 MB, free: 18.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.2305, allocations: 71.38 kB / 420.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2305, allocations: 0 / 420.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2305, allocations: 0 / 420.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.2306, allocations: 15.97 kB / 420.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2306, allocations: 4 kB / 420.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.2309, allocations: 47.83 kB / 420.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.2309, allocations: 8 kB / 420.5 MB, free: 18.27 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.0001811/0.2311, allocations: 234.1 kB / 420.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.2311, allocations: 15.91 kB / 420.8 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.2312, allocations: 17.86 kB / 420.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2312, allocations: 0 / 420.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2312, allocations: 7.938 kB / 420.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2312, allocations: 0 / 420.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2313, allocations: 261.3 kB / 421 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2313, allocations: 4 kB / 421 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.2314, allocations: 4 kB / 421 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2314, allocations: 0 / 421 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.2314, allocations: 11.98 kB / 421.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2314, allocations: 0 / 421.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2314, allocations: 4 kB / 421.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.232, allocations: 392.1 kB / 421.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.2321, allocations: 120.8 kB / 421.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.2321, allocations: 16 kB / 421.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.2324, allocations: 47.95 kB / 421.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.2325, allocations: 19.97 kB / 421.6 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2325, allocations: 15.98 kB / 421.7 MB, free: 17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2326, allocations: 143.2 kB / 421.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2326, allocations: 0 / 421.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.2329, allocations: 64.12 kB / 421.9 MB, free: 16.79 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.0001652/0.2331, allocations: 143.5 kB / 422 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.2335, allocations: 394.7 kB / 422.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2335, allocations: 0 / 422.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.2338, allocations: 406.7 kB / 422.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2341, allocations: 23.98 kB / 422.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.2346, allocations: 379.5 kB / 423.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2347, allocations: 0.7201 MB / 423.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.2348, allocations: 15.44 kB / 423.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2348, allocations: 3.938 kB / 423.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Templates: time 0.003378/0.2382, allocations: 2.376 MB / 426.3 MB, free: 12.25 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)