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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001318/0.001318, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.278/1.278, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1471/0.1471, allocations: 8.085 MB / 299.7 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 11.98 kB / 362.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09895, allocations: 52.51 MB / 415.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.0009501/0.09995, allocations: 479.2 kB / 415.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1012, allocations: 1.124 MB / 417 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.1013, allocations: 7.938 kB / 417 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.1013, allocations: 0 / 417 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1015, allocations: 11.97 kB / 417 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.1016, allocations: 23.92 kB / 417 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1017, allocations: 51.86 kB / 417 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.1018, allocations: 15.98 kB / 417.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.1019, allocations: 27.98 kB / 417.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.102, allocations: 47.81 kB / 417.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.102, allocations: 4 kB / 417.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.1021, allocations: 4 kB / 417.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.1021, allocations: 23.91 kB / 417.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.1022, allocations: 37.7 kB / 417.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.1023, allocations: 56.12 kB / 417.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1023, allocations: 0 / 417.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1023, allocations: 4 kB / 417.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.1023, allocations: 0 / 417.3 MB, free: 6.699 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009163/0.1032, allocations: 439.1 kB / 417.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1033, allocations: 16.03 kB / 417.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.1033, allocations: 38.56 kB / 417.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1033, allocations: 15.86 kB / 417.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1035, allocations: 174.9 kB / 417.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.1037, allocations: 65.67 kB / 418 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1037, allocations: 4 kB / 418 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1048, allocations: 429.5 kB / 418.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1049, allocations: 0 / 418.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1049, allocations: 3.953 kB / 418.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1049, allocations: 7.938 kB / 418.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.1055, allocations: 183.8 kB / 418.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1059, allocations: 373.7 kB / 419 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/0.1069, allocations: 343.6 kB / 419.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.107, allocations: 4.125 kB / 419.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.107, allocations: 46.48 kB / 419.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.107, allocations: 0 / 419.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001087/0.1081, allocations: 365.6 kB / 419.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.1082, allocations: 114.9 kB / 419.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.1083, allocations: 101.9 kB / 419.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1083, allocations: 29.69 kB / 420 MB, free: 3.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.1083, allocations: 84.14 kB / 420 MB, free: 3.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.1084, allocations: 7.906 kB / 420 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.1084, allocations: 4 kB / 420.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1085, allocations: 318.8 kB / 420.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.1085, allocations: 19.98 kB / 420.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.1086, allocations: 103 kB / 420.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.1087, allocations: 35.98 kB / 420.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1087, allocations: 0 / 420.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001895/0.1089, allocations: 145.2 kB / 420.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1089, allocations: 7.953 kB / 420.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1089, allocations: 4 kB / 420.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1089, allocations: 4 kB / 420.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.109, allocations: 23.98 kB / 420.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1091, allocations: 7.938 kB / 420.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.1091, allocations: 8.406 kB / 420.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1091, allocations: 12 kB / 420.7 MB, free: 2.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1092, allocations: 133.8 kB / 420.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/0.1099, allocations: 249.3 kB / 421.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1101, allocations: 57.61 kB / 421.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1101, allocations: 4 kB / 421.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1101, allocations: 4.031 kB / 421.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1101, allocations: 0 / 421.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1104, allocations: 189.5 kB / 421.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1104, allocations: 0 / 421.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.1106, allocations: 51.89 kB / 421.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1106, allocations: 8 kB / 421.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1107, allocations: 0 / 421.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1107, allocations: 7.953 kB / 421.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1107, allocations: 0 / 421.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.1115, allocations: 459 kB / 421.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.1115, allocations: 96.84 kB / 422 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1116, allocations: 4 kB / 422 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1118, allocations: 31.97 kB / 422 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.1118, allocations: 0 / 422 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1119, allocations: 4 kB / 422 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.1119, allocations: 83.28 kB / 422.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1119, allocations: 0 / 422.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1122, allocations: 23.98 kB / 422.1 MB, free: 1.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.1133, allocations: 1.13 MB / 423.2 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.1137, allocations: 159.7 kB / 423.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1137, allocations: 0 / 423.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.1138, allocations: 8.875 kB / 423.4 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1544/0.2682, allocations: 140 kB / 423.5 MB, free: 41.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.2705, allocations: 2.584 MB / 426.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2706, allocations: 0.7059 MB / 426.8 MB, free: 38.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.2706, allocations: 3.406 kB / 426.8 MB, free: 38.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.2707, allocations: 21.69 kB / 426.8 MB, free: 38.9 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2707, allocations: 0 / 426.8 MB, free: 38.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01018/0.2809, allocations: 1.858 MB / 428.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001029/0.281, allocations: 153.1 kB / 428.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.722, allocations: 3.125 kB / 428.9 MB, free: 38.57 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) Environment - environmentSimulation: