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.001883/0.001884, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008703/0.0008703, allocations: 86.52 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.09122/0.09122, allocations: 14.05 MB / 323.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.094e-05, allocations: 0 / 380.8 MB, free: 73.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 51.12 MB / 431.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.6374, allocations: 75.44 MB / 0.4955 GB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.6378, allocations: 67.88 kB / 0.4955 GB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003118/0.6409, allocations: 1.22 MB / 0.4967 GB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.641, allocations: 0 / 0.4967 GB, free: 10.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.641, allocations: 3.812 kB / 0.4967 GB, free: 10.78 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.0002169/0.6412, allocations: 320.5 kB / 0.497 GB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6413, allocations: 7.656 kB / 0.497 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.6413, allocations: 0 / 0.497 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.6414, allocations: 164.6 kB / 0.4972 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.6414, allocations: 0 / 0.4972 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.6414, allocations: 0 / 0.4972 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.226e-05/0.6415, allocations: 7.891 kB / 0.4972 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.514e-05/0.6415, allocations: 44.62 kB / 0.4972 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6415, allocations: 4 kB / 0.4972 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.6416, allocations: 0 / 0.4972 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6416, allocations: 0 / 0.4972 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.6419, allocations: 441.8 kB / 0.4977 GB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.6419, allocations: 175.7 kB / 0.4978 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.6419, allocations: 86.39 kB / 0.4979 GB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.642, allocations: 78.66 kB / 0.498 GB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.642, allocations: 105.8 kB / 0.4981 GB, free: 9.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.642, allocations: 0 / 0.4981 GB, free: 9.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.465e-05/0.6421, allocations: 30.36 kB / 0.4981 GB, free: 9.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.6421, allocations: 51.41 kB / 0.4982 GB, free: 9.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.6422, allocations: 95.56 kB / 0.4983 GB, free: 9.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.6422, allocations: 26.45 kB / 0.4983 GB, free: 9.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.6422, allocations: 91.52 kB / 0.4984 GB, free: 8.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.6422, allocations: 0 / 0.4984 GB, free: 8.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-06/0.6422, allocations: 0 / 0.4984 GB, free: 8.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.6423, allocations: 310.8 kB / 0.4987 GB, free: 8.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.6423, allocations: 3.938 kB / 0.4987 GB, free: 8.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.6423, allocations: 17.66 kB / 0.4987 GB, free: 8.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.744e-05/0.6424, allocations: 2.531 kB / 0.4987 GB, free: 8.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6424, allocations: 3.938 kB / 0.4987 GB, free: 8.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.759e-05/0.6425, allocations: 41.75 kB / 0.4987 GB, free: 8.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.6425, allocations: 7.5 kB / 0.4987 GB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6425, allocations: 0 / 0.4987 GB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6425, allocations: 2.203 kB / 0.4987 GB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.6426, allocations: 7.812 kB / 0.4988 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.6426, allocations: 4.125 kB / 0.4988 GB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.6426, allocations: 3.906 kB / 0.4988 GB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.6426, allocations: 3.844 kB / 0.4988 GB, free: 8.562 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 6.345e-05/0.6427, allocations: 176.3 kB / 0.4989 GB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.694e-05/0.6427, allocations: 140.8 kB / 0.4991 GB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.6428, allocations: 104.9 kB / 0.4992 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.6428, allocations: 110.6 kB / 0.4993 GB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/0.6429, allocations: 184.1 kB / 0.4995 GB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/0.6429, allocations: 187.2 kB / 0.4996 GB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/0.6429, allocations: 178.8 kB / 0.4998 GB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.6431, allocations: 376.2 kB / 0.5002 GB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.6431, allocations: 112.8 kB / 0.5003 GB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.6431, allocations: 101 kB / 0.5004 GB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.359e-05/0.6432, allocations: 189.6 kB / 0.5005 GB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.6432, allocations: 180.2 kB / 0.5007 GB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-05/0.6432, allocations: 180.1 kB / 0.5009 GB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.232e-05/0.6433, allocations: 178.5 kB / 0.5011 GB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.195e-05/0.6434, allocations: 306.7 kB / 0.5014 GB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.6434, allocations: 180.4 kB / 0.5015 GB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.6435, allocations: 184.2 kB / 0.5017 GB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.6435, allocations: 108.3 kB / 0.5018 GB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6436, allocations: 180.2 kB / 0.502 GB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.6436, allocations: 108.9 kB / 0.5021 GB, free: 5.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.874e-05/0.6436, allocations: 78.78 kB / 0.5022 GB, free: 4.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6436, allocations: 3.969 kB / 0.5022 GB, free: 4.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.6438, allocations: 0 / 0.5022 GB, free: 4.93 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.0005915/0.6444, allocations: 0.8001 MB / 0.5029 GB, free: 20.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.6445, allocations: 3.938 kB / 0.5029 GB, free: 20.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6445, allocations: 3.688 kB / 0.5029 GB, free: 20.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.6445, allocations: 0 / 0.5029 GB, free: 20.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.6449, allocations: 0.5217 MB / 0.5035 GB, free: 19.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.6452, allocations: 155.5 kB / 0.5036 GB, free: 19.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6455, allocations: 0.6754 MB / 0.5043 GB, free: 18.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.6456, allocations: 3.938 kB / 0.5043 GB, free: 18.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.6456, allocations: 7.438 kB / 0.5043 GB, free: 18.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6456, allocations: 0 / 0.5043 GB, free: 18.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.6652, allocations: 433.6 kB / 0.5047 GB, free: 18.67 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.6655, allocations: 125.2 kB / 0.5048 GB, free: 18.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.362, allocations: 0 / 0.5048 GB, free: 18.48 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)