Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001483, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009668/0.000967, allocations: 86.64 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.1068/0.1068, allocations: 14.03 MB / 328.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.471e-05, allocations: 0 / 387.8 MB, free: 68.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09042, allocations: 51.11 MB / 438.9 MB, free: 17.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.482, allocations: 76.11 MB / 0.5029 GB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.4824, allocations: 62.98 kB / 0.503 GB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003338/0.4858, allocations: 1.222 MB / 0.5042 GB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4858, allocations: 0 / 0.5042 GB, free: 10.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.4858, allocations: 0 / 0.5042 GB, free: 10.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002308/0.4861, allocations: 322.7 kB / 0.5045 GB, free: 10.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.4861, allocations: 11.47 kB / 0.5045 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.4862, allocations: 37.38 kB / 0.5045 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.4862, allocations: 0 / 0.5045 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.4863, allocations: 159.1 kB / 0.5047 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4863, allocations: 0.6562 kB / 0.5047 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.4863, allocations: 7.891 kB / 0.5047 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.4864, allocations: 41.91 kB / 0.5047 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4864, allocations: 0 / 0.5047 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4865, allocations: 6.812 kB / 0.5047 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.4865, allocations: 0 / 0.5047 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.4865, allocations: 3.938 kB / 0.5047 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.4868, allocations: 468.8 kB / 0.5052 GB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.056e-05/0.4869, allocations: 175.3 kB / 0.5053 GB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.4869, allocations: 80.14 kB / 0.5054 GB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4869, allocations: 77.81 kB / 0.5055 GB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.487, allocations: 110.7 kB / 0.5056 GB, free: 9.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.487, allocations: 0 / 0.5056 GB, free: 9.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.719e-05/0.4871, allocations: 30.23 kB / 0.5056 GB, free: 9.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4871, allocations: 130.6 kB / 0.5057 GB, free: 9.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.4872, allocations: 93.72 kB / 0.5058 GB, free: 8.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.4872, allocations: 29.64 kB / 0.5059 GB, free: 8.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.4872, allocations: 87.8 kB / 0.506 GB, free: 8.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.4872, allocations: 0 / 0.506 GB, free: 8.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.4873, allocations: 4.125 kB / 0.506 GB, free: 8.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.4873, allocations: 314.2 kB / 0.5063 GB, free: 8.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.4874, allocations: 3.906 kB / 0.5063 GB, free: 8.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.4874, allocations: 9.719 kB / 0.5063 GB, free: 8.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.4874, allocations: 6.609 kB / 0.5063 GB, free: 8.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4874, allocations: 3.953 kB / 0.5063 GB, free: 8.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.4875, allocations: 45.39 kB / 0.5063 GB, free: 8.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4876, allocations: 3.812 kB / 0.5063 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4876, allocations: 6.594 kB / 0.5063 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4876, allocations: 0 / 0.5063 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.4877, allocations: 3.938 kB / 0.5063 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4877, allocations: 0 / 0.5063 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.4877, allocations: 3.906 kB / 0.5063 GB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4877, allocations: 4 kB / 0.5063 GB, free: 8.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.334e-05/0.4878, allocations: 180.1 kB / 0.5065 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.4879, allocations: 112.9 kB / 0.5066 GB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.4879, allocations: 110.8 kB / 0.5067 GB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/0.488, allocations: 184.1 kB / 0.5069 GB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.485e-05/0.488, allocations: 183.5 kB / 0.5071 GB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-05/0.4881, allocations: 178.4 kB / 0.5072 GB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.4883, allocations: 407.7 kB / 0.5076 GB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.4883, allocations: 105 kB / 0.5077 GB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.4883, allocations: 108.9 kB / 0.5078 GB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.4884, allocations: 180.2 kB / 0.508 GB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.4885, allocations: 182.4 kB / 0.5082 GB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.407e-05/0.4885, allocations: 180.2 kB / 0.5084 GB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-05/0.4886, allocations: 180.3 kB / 0.5085 GB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.4887, allocations: 305.8 kB / 0.5088 GB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.4887, allocations: 182 kB / 0.509 GB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.4888, allocations: 186.6 kB / 0.5092 GB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.4889, allocations: 108.7 kB / 0.5093 GB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.4889, allocations: 181.4 kB / 0.5094 GB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.489, allocations: 111.2 kB / 0.5096 GB, free: 4.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.298e-05/0.489, allocations: 75.28 kB / 0.5096 GB, free: 4.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.489, allocations: 0 / 0.5096 GB, free: 4.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.4892, allocations: 3.844 kB / 0.5096 GB, free: 4.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002756/0.4895, allocations: 0.7935 MB / 0.5104 GB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.4896, allocations: 10.47 kB / 0.5104 GB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4896, allocations: 3.875 kB / 0.5104 GB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.4896, allocations: 0 / 0.5104 GB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.4898, allocations: 0.5259 MB / 0.5109 GB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.4901, allocations: 151.4 kB / 0.5111 GB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4904, allocations: 0.6748 MB / 0.5117 GB, free: 18.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.4904, allocations: 2.016 kB / 0.5117 GB, free: 18.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.4905, allocations: 7.438 kB / 0.5117 GB, free: 18.66 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4905, allocations: 3.938 kB / 0.5117 GB, free: 18.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.5026, allocations: 0.7011 MB / 0.5124 GB, free: 18.5 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.5028, allocations: 144.1 kB / 0.5126 GB, free: 18.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.003, allocations: 0 / 0.5126 GB, free: 18.27 MB / 346.7 MB (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)