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.001451/0.001451, allocations: 109.7 kB / 17.08 MB, free: 5.777 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.001583/0.001583, allocations: 196 kB / 18.02 MB, free: 4.953 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.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05114/0.05114, allocations: 8.091 MB / 300 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 363.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2146, allocations: 51.51 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002295/0.2169, allocations: 1.622 MB / 416.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.2177, allocations: 0.614 MB / 416.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.2178, allocations: 0 / 416.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2179, allocations: 27.84 kB / 417 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.2181, allocations: 39.77 kB / 417 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.2184, allocations: 115.7 kB / 417.1 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.2186, allocations: 195.5 kB / 417.3 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2187, allocations: 24.95 kB / 417.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.2188, allocations: 75.75 kB / 417.4 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2189, allocations: 79.72 kB / 417.5 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.2189, allocations: 16 kB / 417.5 MB, free: 22.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.2191, allocations: 83.92 kB / 417.6 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.2191, allocations: 31.89 kB / 417.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.2192, allocations: 71.59 kB / 417.7 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2195, allocations: 197.3 kB / 417.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2195, allocations: 0 / 417.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2195, allocations: 0 / 417.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2195, allocations: 0 / 417.9 MB, free: 22.28 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.0005812/0.2201, allocations: 0.4907 MB / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2201, allocations: 11.89 kB / 418.4 MB, free: 21.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.2202, allocations: 20.75 kB / 418.4 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2204, allocations: 228 kB / 418.6 MB, free: 21.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2205, allocations: 8.375 kB / 418.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2205, allocations: 4.375 kB / 418.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2208, allocations: 142.2 kB / 418.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2208, allocations: 0 / 418.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2208, allocations: 4 kB / 418.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2208, allocations: 0 / 418.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.221, allocations: 67.95 kB / 418.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.2215, allocations: 396.5 kB / 419.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2217, allocations: 118.5 kB / 419.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.2219, allocations: 105 kB / 419.4 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2219, allocations: 0 / 419.4 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.2223, allocations: 330.2 kB / 419.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.2223, allocations: 4 kB / 419.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007067/0.223, allocations: 380.7 kB / 420.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.2231, allocations: 225.5 kB / 420.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2232, allocations: 194.9 kB / 420.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2232, allocations: 33.7 kB / 420.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.2233, allocations: 100.1 kB / 420.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.2233, allocations: 47.44 kB / 420.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.2234, allocations: 37.7 kB / 420.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.2234, allocations: 334.8 kB / 421.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.2235, allocations: 51.97 kB / 421.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.2236, allocations: 79.31 kB / 421.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.224, allocations: 453.8 kB / 421.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.224, allocations: 0 / 421.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002684/0.2243, allocations: 276.7 kB / 421.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.2243, allocations: 67.39 kB / 422 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2243, allocations: 0 / 422 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2244, allocations: 4.031 kB / 422 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.2244, allocations: 12 kB / 422 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2244, allocations: 4.062 kB / 422 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.2247, allocations: 48.02 kB / 422.1 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2247, allocations: 8 kB / 422.1 MB, free: 17.68 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.000173/0.2249, allocations: 232 kB / 422.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.2249, allocations: 19.89 kB / 422.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.225, allocations: 13.88 kB / 422.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.225, allocations: 0 / 422.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.225, allocations: 11.94 kB / 422.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.225, allocations: 0 / 422.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2251, allocations: 265.2 kB / 422.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2251, allocations: 8 kB / 422.6 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.885e-05/0.2252, allocations: 0 / 422.6 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2252, allocations: 0 / 422.6 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.2252, allocations: 11.98 kB / 422.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2252, allocations: 0 / 422.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2252, allocations: 0 / 422.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.2257, allocations: 391.2 kB / 423 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.2258, allocations: 124.8 kB / 423.1 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.2259, allocations: 16 kB / 423.1 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2261, allocations: 51.94 kB / 423.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.2262, allocations: 19.98 kB / 423.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.2263, allocations: 11.98 kB / 423.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.701e-05/0.2264, allocations: 152.2 kB / 423.4 MB, free: 16.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.2264, allocations: 0 / 423.4 MB, free: 16.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00025/0.2266, allocations: 63.94 kB / 423.4 MB, free: 16.2 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.0001563/0.2268, allocations: 155.5 kB / 423.6 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004316/0.2272, allocations: 386.7 kB / 424 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2272, allocations: 0 / 424 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.2275, allocations: 410.7 kB / 424.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2278, allocations: 27.41 kB / 424.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.2283, allocations: 308.1 kB / 424.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.2284, allocations: 0.7238 MB / 425.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.2285, allocations: 8.438 kB / 425.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.2285, allocations: 11.44 kB / 425.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2285, allocations: 3.938 kB / 425.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.00523/0.2337, allocations: 3.174 MB / 428.6 MB, free: 10.94 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 gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)