Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.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.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",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.001312/0.001312, allocations: 106.5 kB / 16.45 MB, free: 6.434 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.001306/0.001306, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04991/0.04991, allocations: 8.101 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08897, allocations: 51.52 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001913/0.09092, allocations: 0.7553 MB / 466.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.0924, allocations: 1.161 MB / 467.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.09246, allocations: 0 / 467.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.09251, allocations: 7.938 kB / 467.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.09271, allocations: 15.91 kB / 467.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.09286, allocations: 27.91 kB / 467.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.09304, allocations: 99.8 kB / 467.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.09314, allocations: 7.938 kB / 467.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.09325, allocations: 39.97 kB / 467.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.0934, allocations: 47.88 kB / 467.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.09343, allocations: 8 kB / 467.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.09346, allocations: 8 kB / 467.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.09353, allocations: 27.91 kB / 467.7 MB, free: 468 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.0936, allocations: 43.8 kB / 467.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.09375, allocations: 83.98 kB / 467.8 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.09376, allocations: 4 kB / 467.8 MB, free: 336 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09377, allocations: 0 / 467.8 MB, free: 336 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.09377, allocations: 0 / 467.8 MB, free: 336 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001041/0.09482, allocations: 443.1 kB / 468.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.09488, allocations: 19.88 kB / 468.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.09493, allocations: 38.75 kB / 468.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.09497, allocations: 8.891 kB / 468.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.09514, allocations: 172.3 kB / 468.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.09534, allocations: 58.23 kB / 468.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.09537, allocations: 12.31 kB / 468.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.09655, allocations: 424.7 kB / 469 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.09657, allocations: 0 / 469 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.09659, allocations: 7.938 kB / 469 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.09661, allocations: 8 kB / 469 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.0972, allocations: 163.8 kB / 469.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.09768, allocations: 373.8 kB / 469.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/0.09867, allocations: 323.6 kB / 469.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.09907, allocations: 154.8 kB / 470 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.09911, allocations: 11.92 kB / 470 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.09915, allocations: 30.56 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.09916, allocations: 4 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001091/0.1003, allocations: 337.5 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.1004, allocations: 118.8 kB / 470.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1005, allocations: 101.8 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1005, allocations: 29.7 kB / 470.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.1006, allocations: 84.14 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1006, allocations: 11.95 kB / 470.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1006, allocations: 25.7 kB / 470.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1008, allocations: 322.7 kB / 471 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.1008, allocations: 19.98 kB / 471 MB, free: 12.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.101, allocations: 99.14 kB / 471.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1011, allocations: 131 kB / 471.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1011, allocations: 4 kB / 471.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001924/0.1013, allocations: 133.7 kB / 471.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1014, allocations: 10.34 kB / 471.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1014, allocations: 7.938 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1014, allocations: 4 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.1015, allocations: 23.98 kB / 471.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1015, allocations: 7.938 kB / 471.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.1016, allocations: 4 kB / 471.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1016, allocations: 8 kB / 471.5 MB, free: 12.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001121/0.1017, allocations: 129.8 kB / 471.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006999/0.1024, allocations: 233.4 kB / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1025, allocations: 53.67 kB / 471.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1026, allocations: 7.938 kB / 471.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1026, allocations: 3.984 kB / 471.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1026, allocations: 3.938 kB / 471.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.1028, allocations: 189.7 kB / 472.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1029, allocations: 4 kB / 472.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1031, allocations: 55.92 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1031, allocations: 0 / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1031, allocations: 8 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1032, allocations: 0 / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1032, allocations: 0 / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.104, allocations: 431.6 kB / 472.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.104, allocations: 89 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1041, allocations: 7.984 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1043, allocations: 23.97 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.1043, allocations: 7.938 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1043, allocations: 8 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.1044, allocations: 79.28 kB / 472.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1044, allocations: 0 / 472.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1047, allocations: 16 kB / 472.8 MB, free: 10.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.001181/0.1059, allocations: 0.9623 MB / 473.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.1063, allocations: 155.7 kB / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1063, allocations: 0 / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.1064, allocations: 8 kB / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.107, allocations: 129.7 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1099, allocations: 1.861 MB / 475.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1103, allocations: 0.7002 MB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.1103, allocations: 8.422 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1104, allocations: 23.44 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1104, allocations: 0 / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1326, allocations: 2.156 MB / 478.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.809, allocations: 8 kB / 478.8 MB, free: 4.699 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.QfURegulation_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)