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.005893/0.005893, allocations: 170.6 kB / 15.11 MB, free: 5.969 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.261/1.261, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0007875/0.0007875, allocations: 82.94 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05184/0.05184, allocations: 14.19 MB / 332 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8.188 kB / 393.7 MB, free: 51.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06892/0.06921, allocations: 51.13 MB / 444.9 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08852/0.1578, allocations: 76.2 MB / 0.5088 GB, free: 10.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.158, allocations: 67.97 kB / 0.5089 GB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003143/0.1611, allocations: 1.222 MB / 0.5101 GB, free: 9.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1612, allocations: 0 / 0.5101 GB, free: 9.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1612, allocations: 0 / 0.5101 GB, free: 9.148 MB / 362.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.0002177/0.1614, allocations: 327.4 kB / 0.5104 GB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1614, allocations: 16.02 kB / 0.5104 GB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1615, allocations: 34.56 kB / 0.5105 GB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.833e-05/0.1615, allocations: 0 / 0.5105 GB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.1616, allocations: 167 kB / 0.5106 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1616, allocations: 0 / 0.5106 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1616, allocations: 3.953 kB / 0.5106 GB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.263e-05/0.1617, allocations: 39.42 kB / 0.5107 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1617, allocations: 0 / 0.5107 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1618, allocations: 8 kB / 0.5107 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1618, allocations: 0 / 0.5107 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1618, allocations: 7.938 kB / 0.5107 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1621, allocations: 467.5 kB / 0.5111 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.1622, allocations: 174.8 kB / 0.5113 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1622, allocations: 75.28 kB / 0.5114 GB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1623, allocations: 109.8 kB / 0.5115 GB, free: 7.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1623, allocations: 0 / 0.5115 GB, free: 7.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.225e-05/0.1623, allocations: 29.7 kB / 0.5115 GB, free: 7.531 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.1624, allocations: 130.7 kB / 0.5116 GB, free: 7.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.1625, allocations: 93 kB / 0.5117 GB, free: 7.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1625, allocations: 25.7 kB / 0.5117 GB, free: 7.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.1626, allocations: 88.03 kB / 0.5118 GB, free: 7.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.1626, allocations: 3.938 kB / 0.5118 GB, free: 7.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.1626, allocations: 0 / 0.5118 GB, free: 7.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.1627, allocations: 318.8 kB / 0.5121 GB, free: 6.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.1627, allocations: 0 / 0.5121 GB, free: 6.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.1627, allocations: 13.72 kB / 0.5121 GB, free: 6.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.889e-05/0.1627, allocations: 12.11 kB / 0.5121 GB, free: 6.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1627, allocations: 0 / 0.5121 GB, free: 6.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.286e-05/0.1628, allocations: 41.66 kB / 0.5122 GB, free: 6.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1629, allocations: 8 kB / 0.5122 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1629, allocations: 0 / 0.5122 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1629, allocations: 4 kB / 0.5122 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.1629, allocations: 4 kB / 0.5122 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1629, allocations: 3.938 kB / 0.5122 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.163, allocations: 7.969 kB / 0.5122 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.163, allocations: 3.938 kB / 0.5122 GB, free: 6.738 MB / 362.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 () * 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 8.323e-05/0.1631, allocations: 189.1 kB / 0.5124 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1631, allocations: 104.9 kB / 0.5125 GB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.1632, allocations: 108.1 kB / 0.5126 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/0.1632, allocations: 188.2 kB / 0.5128 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.329e-05/0.1633, allocations: 181.2 kB / 0.513 GB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.923e-05/0.1634, allocations: 184.2 kB / 0.5131 GB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1636, allocations: 397.2 kB / 0.5135 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/0.1637, allocations: 105 kB / 0.5136 GB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.1637, allocations: 112.9 kB / 0.5137 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.339e-05/0.1638, allocations: 180.2 kB / 0.5139 GB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.1638, allocations: 190.2 kB / 0.5141 GB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.537e-05/0.1639, allocations: 176.3 kB / 0.5142 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.275e-05/0.164, allocations: 180.2 kB / 0.5144 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1641, allocations: 303.8 kB / 0.5147 GB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.1642, allocations: 186 kB / 0.5149 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.1643, allocations: 184.2 kB / 0.5151 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.1643, allocations: 108.9 kB / 0.5152 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.1644, allocations: 180.3 kB / 0.5153 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.1645, allocations: 101 kB / 0.5154 GB, free: 3.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.1645, allocations: 83.28 kB / 0.5155 GB, free: 3.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1645, allocations: 0 / 0.5155 GB, free: 3.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.1647, allocations: 0 / 0.5155 GB, free: 3.152 MB / 362.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 () * 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.0003701/0.1651, allocations: 0.8009 MB / 0.5163 GB, free: 2.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.414e-05/0.1651, allocations: 4.156 kB / 0.5163 GB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1652, allocations: 4.062 kB / 0.5163 GB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.1652, allocations: 7.875 kB / 0.5163 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1654, allocations: 0.5185 MB / 0.5168 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.1657, allocations: 191.6 kB / 0.517 GB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.166, allocations: 0.6731 MB / 0.5176 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.543e-05/0.166, allocations: 0 / 0.5176 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.166, allocations: 11.44 kB / 0.5177 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.166, allocations: 0 / 0.5177 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.1769, allocations: 0.6916 MB / 0.5183 GB, free: 244 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1495/0.3264, allocations: 172.8 kB / 0.5185 GB, free: 86.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.321/1.647, allocations: 0 / 0.5185 GB, free: 86.84 MB / 362.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)