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.001005/0.001005, allocations: 103.8 kB / 16.45 MB, free: 6.43 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.0009615/0.0009615, allocations: 190.9 kB / 17.39 MB, free: 5.688 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.224/1.224, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04676/0.04676, allocations: 8.103 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 55.91 kB / 413.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09942, allocations: 51.51 MB / 465.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001985/0.1014, allocations: 0.7703 MB / 466.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1029, allocations: 1.157 MB / 467.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.103, allocations: 3.938 kB / 467.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.103, allocations: 4 kB / 467.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1033, allocations: 15.86 kB / 467.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1034, allocations: 27.95 kB / 467.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1036, allocations: 95.75 kB / 467.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.1037, allocations: 4 kB / 467.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1038, allocations: 43.95 kB / 467.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.104, allocations: 51.83 kB / 467.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.104, allocations: 8 kB / 467.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.104, allocations: 12 kB / 467.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1041, allocations: 27.91 kB / 467.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.1041, allocations: 43.83 kB / 467.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1043, allocations: 80 kB / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1043, allocations: 0 / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1043, allocations: 0 / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1043, allocations: 0 / 467.8 MB, free: 372 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.001006/0.1053, allocations: 443.1 kB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1054, allocations: 15.89 kB / 468.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1054, allocations: 42.69 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.1055, allocations: 16.89 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1056, allocations: 172.2 kB / 468.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.1058, allocations: 58.25 kB / 468.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1059, allocations: 4.375 kB / 468.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.107, allocations: 425.2 kB / 468.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.107, allocations: 3.984 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.107, allocations: 4 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.107, allocations: 0 / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.1076, allocations: 167.8 kB / 469.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.1081, allocations: 381.8 kB / 469.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.109, allocations: 331.5 kB / 469.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.1094, allocations: 154.5 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1095, allocations: 0 / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1095, allocations: 38.56 kB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1095, allocations: 0 / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001084/0.1106, allocations: 341.5 kB / 470.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.1107, allocations: 110.8 kB / 470.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.1108, allocations: 105.8 kB / 470.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1108, allocations: 25.92 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.1108, allocations: 84.14 kB / 470.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1109, allocations: 15.88 kB / 470.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1109, allocations: 25.78 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.111, allocations: 330.8 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.1111, allocations: 15.98 kB / 471 MB, free: 12.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.1112, allocations: 95.09 kB / 471.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1113, allocations: 131 kB / 471.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1113, allocations: 0 / 471.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001929/0.1115, allocations: 141.3 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1115, allocations: 4 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1115, allocations: 7.984 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1116, allocations: 4 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.1117, allocations: 27.88 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1117, allocations: 7.984 kB / 471.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.1117, allocations: 4.406 kB / 471.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1118, allocations: 12 kB / 471.5 MB, free: 12.32 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.000104/0.1119, allocations: 129.7 kB / 471.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/0.1125, allocations: 233.5 kB / 471.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.1127, allocations: 53.66 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1127, allocations: 3.938 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1127, allocations: 0 / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1127, allocations: 4 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.113, allocations: 189.5 kB / 472.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.113, allocations: 7.938 kB / 472.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1132, allocations: 44 kB / 472.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1132, allocations: 0 / 472.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1132, allocations: 4 kB / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1133, allocations: 0 / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1133, allocations: 0 / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.1141, allocations: 443.3 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1141, allocations: 85 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1142, allocations: 8 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.1144, allocations: 23.97 kB / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1144, allocations: 4 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1144, allocations: 8 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.1145, allocations: 83.45 kB / 472.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1145, allocations: 0 / 472.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1148, allocations: 20 kB / 472.8 MB, free: 10.89 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.001085/0.1159, allocations: 0.9545 MB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.1163, allocations: 159.1 kB / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1164, allocations: 0.8125 kB / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.1164, allocations: 11.94 kB / 473.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.1171, allocations: 136.7 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.1199, allocations: 1.857 MB / 475.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1202, allocations: 0.6963 MB / 476.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.1203, allocations: 16.41 kB / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1204, allocations: 19.44 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1204, allocations: 7.938 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.1551, allocations: 2.134 MB / 478.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.988, allocations: 14.55 kB / 478.8 MB, free: 4.734 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)