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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 113.8 kB / 17.17 MB, free: 5.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 212 kB / 20.14 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03651/0.03651, allocations: 6.136 MB / 315.7 MB, free: 1.133 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 51.48 kB / 439.2 MB, free: 40.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08724, allocations: 54.99 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002172/0.08942, allocations: 1.643 MB / 495.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.09028, allocations: 0.6507 MB / 496.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.09034, allocations: 0 / 496.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.09045, allocations: 23.84 kB / 496.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.09059, allocations: 43.77 kB / 496.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.0909, allocations: 115.7 kB / 496.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.09107, allocations: 183.5 kB / 496.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.244e-05/0.09114, allocations: 17.11 kB / 496.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.09124, allocations: 75.75 kB / 496.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.09136, allocations: 87.7 kB / 497 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.09139, allocations: 12 kB / 497 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.0915, allocations: 83.92 kB / 497.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.09155, allocations: 31.84 kB / 497.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.09162, allocations: 71.58 kB / 497.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.09181, allocations: 187.6 kB / 497.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09181, allocations: 4 kB / 497.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09181, allocations: 4 kB / 497.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.09182, allocations: 0 / 497.4 MB, free: 7.277 MB / 350.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.0005396/0.09236, allocations: 0.502 MB / 497.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.09239, allocations: 8.031 kB / 497.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.09242, allocations: 38.73 kB / 498 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.09247, allocations: 20.84 kB / 498 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.09271, allocations: 228.1 kB / 498.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.09273, allocations: 8.312 kB / 498.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.09275, allocations: 12.12 kB / 498.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.09303, allocations: 133.5 kB / 498.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.09304, allocations: 0 / 498.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.09306, allocations: 8 kB / 498.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.09306, allocations: 0 / 498.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.09325, allocations: 71.95 kB / 498.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.09371, allocations: 388.7 kB / 498.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.0939, allocations: 86.47 kB / 498.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.09407, allocations: 68.81 kB / 499 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.09408, allocations: 0 / 499 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.09441, allocations: 323.7 kB / 499.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/0.09442, allocations: 3.938 kB / 499.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007391/0.09515, allocations: 395.2 kB / 499.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.09521, allocations: 221.6 kB / 499.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.09534, allocations: 190.4 kB / 0.4884 GB, free: 4.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.09536, allocations: 33.7 kB / 0.4884 GB, free: 4.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.0954, allocations: 108.1 kB / 0.4885 GB, free: 4.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.09543, allocations: 43.77 kB / 0.4885 GB, free: 4.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.09549, allocations: 37.7 kB / 0.4886 GB, free: 4.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.09553, allocations: 334.8 kB / 0.4889 GB, free: 3.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.09561, allocations: 55.97 kB / 0.4889 GB, free: 3.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.0957, allocations: 73.69 kB / 0.489 GB, free: 3.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.0961, allocations: 449.3 kB / 0.4894 GB, free: 3.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.0961, allocations: 0 / 0.4894 GB, free: 3.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002807/0.09638, allocations: 284 kB / 0.4897 GB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.09641, allocations: 71.39 kB / 0.4898 GB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.09642, allocations: 0 / 0.4898 GB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.09643, allocations: 0 / 0.4898 GB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.09649, allocations: 8.031 kB / 0.4898 GB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.0965, allocations: 7.984 kB / 0.4898 GB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.09676, allocations: 43.89 kB / 0.4898 GB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.09678, allocations: 8 kB / 0.4898 GB, free: 2.691 MB / 350.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.0001696/0.09694, allocations: 238.5 kB / 0.4901 GB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.09698, allocations: 19.91 kB / 0.4901 GB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.09701, allocations: 13.88 kB / 0.4901 GB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.09701, allocations: 8.031 kB / 0.4901 GB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.09701, allocations: 0 / 0.4901 GB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.09701, allocations: 0 / 0.4901 GB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.09714, allocations: 261.4 kB / 0.4904 GB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.09715, allocations: 0 / 0.4904 GB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.09717, allocations: 4 kB / 0.4904 GB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.09717, allocations: 0 / 0.4904 GB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.09719, allocations: 11.98 kB / 0.4904 GB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.09719, allocations: 11.92 kB / 0.4904 GB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.09719, allocations: 0 / 0.4904 GB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.09774, allocations: 398.8 kB / 0.4908 GB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.09782, allocations: 121 kB / 0.4909 GB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.09787, allocations: 12 kB / 0.4909 GB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.09813, allocations: 51.94 kB / 0.4909 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.0982, allocations: 19.92 kB / 0.491 GB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.09823, allocations: 15.98 kB / 0.491 GB, free: 1.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.09832, allocations: 152.2 kB / 0.4911 GB, free: 1.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09832, allocations: 0 / 0.4911 GB, free: 1.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.09859, allocations: 67.88 kB / 0.4912 GB, free: 1.195 MB / 350.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.000814/0.0994, allocations: 0.967 MB / 0.4921 GB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.09989, allocations: 294.7 kB / 0.4924 GB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.09989, allocations: 0 / 0.4924 GB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.1002, allocations: 218.7 kB / 0.4926 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.1005, allocations: 20 kB / 0.4926 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.1035, allocations: 2.283 MB / 0.4949 GB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1038, allocations: 0.7199 MB / 0.4956 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.1039, allocations: 4.438 kB / 0.4956 GB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.104, allocations: 43.42 kB / 0.4956 GB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.104, allocations: 0 / 0.4956 GB, free: 12.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1307, allocations: 4.887 MB / 0.5004 GB, free: 7.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.542, allocations: 11.92 kB / 0.5004 GB, free: 7.629 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.VoltageRegulation2_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.14 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.430271813005675] Failed to read output from testmodel.py, exit status != 0: 8.615042819990776 8.63790896 8.542893243 Calling exit ...