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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009068/0.0009069, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.08165/0.08165, allocations: 14.17 MB / 284.5 MB, free: 7.027 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005454, allocations: 16 kB / 346.2 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1078, allocations: 51.12 MB / 397.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0005318/0.1084, allocations: 204.5 kB / 397.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.1087, allocations: 115.8 kB / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.1087, allocations: 0 / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.278e-06/0.1087, allocations: 0 / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1089, allocations: 23.92 kB / 397.7 MB, free: 332 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.444e-06/0.1089, allocations: 0 / 397.7 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.309e-05/0.109, allocations: 3.984 kB / 397.7 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.109, allocations: 0 / 397.7 MB, free: 328 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.109, allocations: 3.938 kB / 397.7 MB, free: 324 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.1091, allocations: 8 kB / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-06/0.1091, allocations: 0 / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-06/0.1091, allocations: 0 / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-06/0.1092, allocations: 0 / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.1092, allocations: 25.7 kB / 397.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.075e-05/0.1092, allocations: 4 kB / 397.7 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1092, allocations: 0 / 397.7 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1092, allocations: 0 / 397.7 MB, free: 280 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.1092, allocations: 0 / 397.7 MB, free: 280 kB / 286.1 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.0002435/0.1095, allocations: 315.4 kB / 398 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1095, allocations: 12.02 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1096, allocations: 30.56 kB / 398.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.822e-05/0.1096, allocations: 0 / 398.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.1097, allocations: 163.1 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1097, allocations: 4 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1097, allocations: 3.953 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.342e-05/0.1098, allocations: 47.36 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1098, allocations: 3.984 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.1098, allocations: 0 / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1098, allocations: 3.984 kB / 398.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1099, allocations: 7.938 kB / 398.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1102, allocations: 471.6 kB / 398.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.1103, allocations: 165.1 kB / 398.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1103, allocations: 75.28 kB / 399 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.1103, allocations: 109.8 kB / 399.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1103, allocations: 4 kB / 399.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.032e-05/0.1104, allocations: 37.58 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1105, allocations: 126.7 kB / 399.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.1106, allocations: 93.86 kB / 399.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1106, allocations: 29.64 kB / 399.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.1106, allocations: 100.2 kB / 399.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.1106, allocations: 0 / 399.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.1106, allocations: 128 / 399.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1108, allocations: 318.9 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.1108, allocations: 4 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.293e-05/0.1108, allocations: 9.719 kB / 399.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/0.1108, allocations: 4 kB / 399.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1108, allocations: 3.953 kB / 399.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.347e-05/0.1109, allocations: 45.72 kB / 399.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1109, allocations: 8.031 kB / 399.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.111, allocations: 0 / 399.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.111, allocations: 4 kB / 399.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.111, allocations: 0 / 399.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.111, allocations: 4 kB / 399.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.1111, allocations: 0 / 399.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1111, allocations: 0 / 399.9 MB, free: 13.87 MB / 302.1 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 () * Number of clocked 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 9.521e-05/0.1112, allocations: 181.1 kB / 400.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.1112, allocations: 116.9 kB / 400.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.1113, allocations: 112.1 kB / 400.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.324e-05/0.1113, allocations: 184.2 kB / 400.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-05/0.1114, allocations: 180.3 kB / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.681e-05/0.1114, allocations: 176.3 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1116, allocations: 409.2 kB / 401.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/0.1117, allocations: 101 kB / 401.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1117, allocations: 112.9 kB / 401.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.336e-05/0.1118, allocations: 176.3 kB / 401.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.1118, allocations: 180.2 kB / 401.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.385e-05/0.1119, allocations: 180.2 kB / 401.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.112, allocations: 184.3 kB / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.1121, allocations: 303.8 kB / 402.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.1121, allocations: 186.3 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.1122, allocations: 188.2 kB / 402.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.1123, allocations: 109 kB / 402.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1124, allocations: 188.2 kB / 403.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.1124, allocations: 101 kB / 403.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.046e-05/0.1124, allocations: 83.2 kB / 403.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1125, allocations: 0 / 403.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.1127, allocations: 4 kB / 403.3 MB, free: 10.27 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked 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.000344/0.113, allocations: 0.7971 MB / 404 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.57e-05/0.1131, allocations: 4 kB / 404.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1131, allocations: 0 / 404.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1131, allocations: 0 / 404.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.1133, allocations: 0.5414 MB / 404.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.1136, allocations: 171.7 kB / 404.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1138, allocations: 0.677 MB / 405.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.1139, allocations: 0 / 405.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.1139, allocations: 7.438 kB / 405.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1139, allocations: 0 / 405.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009359/0.1233, allocations: 0.7037 MB / 406.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.1234, allocations: 166.7 kB / 406.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/1.58, allocations: 0 / 406.3 MB, free: 7.098 MB / 302.1 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) Environment - environmentSimulation: