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: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 108 kB / 16.03 MB, free: 6.316 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.001679/0.001679, allocations: 194.8 kB / 16.95 MB, free: 6.145 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.297/1.297, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04359/0.04359, allocations: 8.097 MB / 298.9 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 361.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1849, allocations: 51.51 MB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002303/0.1873, allocations: 1.694 MB / 414.5 MB, free: 24.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.1881, allocations: 0.608 MB / 415.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.1882, allocations: 0 / 415.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1883, allocations: 15.92 kB / 415.1 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1884, allocations: 43.75 kB / 415.2 MB, free: 23.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1888, allocations: 99.83 kB / 415.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.189, allocations: 191.5 kB / 415.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.1891, allocations: 24.95 kB / 415.5 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.1891, allocations: 71.77 kB / 415.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1893, allocations: 79.72 kB / 415.6 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1893, allocations: 12 kB / 415.7 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1894, allocations: 91.91 kB / 415.7 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.1895, allocations: 19.92 kB / 415.8 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.1896, allocations: 75.59 kB / 415.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1898, allocations: 189.7 kB / 416 MB, free: 22.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1898, allocations: 3.938 kB / 416 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1898, allocations: 0 / 416 MB, free: 22.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1898, allocations: 4 kB / 416 MB, free: 22.52 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.0005316/0.1903, allocations: 0.4982 MB / 416.5 MB, free: 21.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1904, allocations: 11.89 kB / 416.5 MB, free: 21.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.1904, allocations: 38.75 kB / 416.6 MB, free: 21.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.1905, allocations: 16.75 kB / 416.6 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1906, allocations: 228 kB / 416.8 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1907, allocations: 4.312 kB / 416.8 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1907, allocations: 16.12 kB / 416.8 MB, free: 21.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.191, allocations: 136.5 kB / 417 MB, free: 21.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.191, allocations: 3.938 kB / 417 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.191, allocations: 0 / 417 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.191, allocations: 4 kB / 417 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1912, allocations: 63.95 kB / 417 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1916, allocations: 396.5 kB / 417.4 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1919, allocations: 118.5 kB / 417.5 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.192, allocations: 108.9 kB / 417.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1921, allocations: 0 / 417.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.1924, allocations: 320.2 kB / 418 MB, free: 20.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.1924, allocations: 0 / 418 MB, free: 20.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007113/0.1932, allocations: 391.4 kB / 418.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1932, allocations: 225.6 kB / 418.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1934, allocations: 203.3 kB / 418.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1934, allocations: 29.7 kB / 418.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.1934, allocations: 108.1 kB / 418.9 MB, free: 19.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1935, allocations: 31.53 kB / 418.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.1935, allocations: 37.7 kB / 419 MB, free: 19.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.1936, allocations: 334.8 kB / 419.3 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.1937, allocations: 51.98 kB / 419.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.1938, allocations: 75.31 kB / 419.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.1941, allocations: 465.7 kB / 419.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1942, allocations: 7.875 kB / 419.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002695/0.1944, allocations: 268.7 kB / 420.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.1945, allocations: 75.38 kB / 420.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1945, allocations: 0 / 420.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1945, allocations: 0 / 420.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1946, allocations: 12.03 kB / 420.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1946, allocations: 0 / 420.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1948, allocations: 50.38 kB / 420.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1949, allocations: 11.94 kB / 420.3 MB, free: 17.86 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.0001734/0.195, allocations: 235.9 kB / 420.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1951, allocations: 19.81 kB / 420.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.1951, allocations: 21.86 kB / 420.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1951, allocations: 0 / 420.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1951, allocations: 0 / 420.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1951, allocations: 0 / 420.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.1953, allocations: 257.4 kB / 420.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1953, allocations: 0 / 420.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.1953, allocations: 8 kB / 420.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1953, allocations: 0 / 420.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1953, allocations: 4 kB / 420.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1954, allocations: 7.984 kB / 420.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1954, allocations: 0 / 420.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.1959, allocations: 390.7 kB / 421.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.196, allocations: 128.8 kB / 421.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.196, allocations: 8 kB / 421.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.1963, allocations: 51.89 kB / 421.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.1964, allocations: 23.97 kB / 421.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1964, allocations: 15.97 kB / 421.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.1965, allocations: 147.2 kB / 421.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1965, allocations: 0 / 421.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1968, allocations: 68.06 kB / 421.6 MB, free: 16.38 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.0007637/0.1975, allocations: 0.9557 MB / 422.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.198, allocations: 394.6 kB / 423 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.198, allocations: 0 / 423 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.1983, allocations: 402.8 kB / 423.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.1985, allocations: 20.23 kB / 423.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.2004, allocations: 2.297 MB / 425.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2006, allocations: 0.716 MB / 426.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.2006, allocations: 12.38 kB / 426.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2007, allocations: 43.42 kB / 426.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2007, allocations: 0 / 426.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6576/0.8582, allocations: 4.516 MB / 431 MB, free: 6.941 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.8584, allocations: 178 kB / 431.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.827, allocations: 0 / 431.2 MB, free: 6.688 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation2_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)