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: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",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.001034/0.001034, allocations: 105.6 kB / 16.03 MB, free: 6.332 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.001056/0.001056, allocations: 197.6 kB / 16.95 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.232/1.232, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04384/0.04384, allocations: 8.09 MB / 298.9 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 361.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1893, allocations: 51.52 MB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002213/0.1915, allocations: 1.689 MB / 414.5 MB, free: 24.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.1923, allocations: 0.6081 MB / 415.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.1924, allocations: 3.938 kB / 415.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.1926, allocations: 119.8 kB / 415.3 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1928, allocations: 135.7 kB / 415.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1931, allocations: 95.83 kB / 415.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1933, allocations: 243.5 kB / 415.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1934, allocations: 12.98 kB / 415.7 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1935, allocations: 115.7 kB / 415.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1937, allocations: 195.6 kB / 416 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1937, allocations: 12 kB / 416 MB, free: 22.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1939, allocations: 87.92 kB / 416.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.1939, allocations: 115.6 kB / 416.2 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.194, allocations: 131 kB / 416.4 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1943, allocations: 321.1 kB / 416.7 MB, free: 21.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1943, allocations: 0 / 416.7 MB, free: 21.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1943, allocations: 0 / 416.7 MB, free: 21.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1943, allocations: 4 kB / 416.7 MB, free: 21.87 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.0006674/0.195, allocations: 0.6996 MB / 417.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.195, allocations: 15.83 kB / 417.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.1951, allocations: 38.73 kB / 417.4 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.1952, allocations: 48.38 kB / 417.5 MB, free: 21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1955, allocations: 374.1 kB / 417.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1955, allocations: 4.375 kB / 417.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1955, allocations: 12.12 kB / 417.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.1959, allocations: 181.5 kB / 418.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1959, allocations: 0 / 418.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1959, allocations: 4 kB / 418.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1959, allocations: 0 / 418.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1961, allocations: 115.9 kB / 418.2 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.1966, allocations: 0.4966 MB / 418.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.1969, allocations: 162.5 kB / 418.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1971, allocations: 149 kB / 419 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.1971, allocations: 0 / 419 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.1975, allocations: 371.6 kB / 419.3 MB, free: 19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.532e-06/0.1975, allocations: 4 kB / 419.3 MB, free: 19 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007992/0.1983, allocations: 0.5667 MB / 419.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.1984, allocations: 221.6 kB / 420.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.1988, allocations: 0.5604 MB / 420.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1989, allocations: 29.7 kB / 420.7 MB, free: 17.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.199, allocations: 196.1 kB / 420.9 MB, free: 17.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.199, allocations: 47.48 kB / 420.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1991, allocations: 37.7 kB / 421 MB, free: 17.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.1991, allocations: 362.7 kB / 421.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.1992, allocations: 99.95 kB / 421.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1993, allocations: 113.7 kB / 421.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.1998, allocations: 0.609 MB / 422.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1998, allocations: 0 / 422.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003508/0.2002, allocations: 433.9 kB / 422.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.2002, allocations: 71.39 kB / 422.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2002, allocations: 0 / 422.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2002, allocations: 0 / 422.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.2003, allocations: 16.02 kB / 422.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2003, allocations: 4.062 kB / 422.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2006, allocations: 47.89 kB / 422.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2006, allocations: 8 kB / 422.7 MB, free: 15.42 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.0002163/0.2008, allocations: 294.7 kB / 423 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.2009, allocations: 47.44 kB / 423.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.2009, allocations: 47.91 kB / 423.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.201, allocations: 4 kB / 423.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.201, allocations: 0 / 423.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.201, allocations: 0 / 423.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.2012, allocations: 345.3 kB / 423.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2012, allocations: 4 kB / 423.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.2012, allocations: 4 kB / 423.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2012, allocations: 0 / 423.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2012, allocations: 15.98 kB / 423.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2012, allocations: 0 / 423.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2012, allocations: 0 / 423.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.2019, allocations: 0.531 MB / 424 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.202, allocations: 148.6 kB / 424.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.2021, allocations: 16 kB / 424.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2023, allocations: 51.94 kB / 424.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.2024, allocations: 23.97 kB / 424.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.2024, allocations: 7.938 kB / 424.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.2028, allocations: 419 kB / 424.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2028, allocations: 0 / 424.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.203, allocations: 75.94 kB / 424.7 MB, free: 13.3 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.0008293/0.2039, allocations: 1.127 MB / 425.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.2043, allocations: 478.6 kB / 426.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2044, allocations: 0 / 426.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.2047, allocations: 446.7 kB / 426.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.205, allocations: 37.95 kB / 426.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.209, allocations: 5 MB / 431.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2092, allocations: 0.8072 MB / 432.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.014e-05/0.2093, allocations: 45.92 kB / 432.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2094, allocations: 123.3 kB / 432.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2094, allocations: 0 / 432.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4909/0.7004, allocations: 7.809 MB / 440.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.7006, allocations: 176.5 kB / 440.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.861, allocations: 0 / 440.7 MB, free: 13.09 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)