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.000836/0.000836, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008532/0.0008533, allocations: 172.7 kB / 15.95 MB, free: 208 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.296/1.296, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05787/0.05787, allocations: 14.17 MB / 284.6 MB, free: 7.137 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.0005009/0.000501, allocations: 16 kB / 346.3 MB, free: 19.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09049, allocations: 51.12 MB / 397.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0005605/0.09109, allocations: 206.2 kB / 397.6 MB, free: 428 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000302/0.09142, allocations: 114.1 kB / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.09146, allocations: 0 / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.09148, allocations: 0 / 397.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.09175, allocations: 15.98 kB / 397.7 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.11e-06/0.09176, allocations: 0 / 397.7 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.268e-05/0.0918, allocations: 7.938 kB / 397.7 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.09185, allocations: 3.984 kB / 397.7 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.42e-05/0.09187, allocations: 3.984 kB / 397.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.09198, allocations: 8 kB / 397.7 MB, free: 276 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-06/0.09199, allocations: 0 / 397.7 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-06/0.092, allocations: 0 / 397.7 MB, free: 276 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-06/0.09201, allocations: 0 / 397.7 MB, free: 276 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.388e-05/0.09203, allocations: 29.64 kB / 397.8 MB, free: 240 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.067e-05/0.09206, allocations: 4 kB / 397.8 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.09207, allocations: 0 / 397.8 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09207, allocations: 0 / 397.8 MB, free: 236 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.09208, allocations: 0 / 397.8 MB, free: 236 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.0002306/0.09232, allocations: 315.4 kB / 398.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.09236, allocations: 15.95 kB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.0924, allocations: 34.56 kB / 398.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.09243, allocations: 4 kB / 398.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.09254, allocations: 159.1 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.09255, allocations: 7.938 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.09257, allocations: 3.953 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.09267, allocations: 43.42 kB / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.09269, allocations: 0 / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.0927, allocations: 0 / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.09271, allocations: 7.984 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.09274, allocations: 11.94 kB / 398.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.09306, allocations: 463.7 kB / 398.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.09315, allocations: 169.1 kB / 399 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.09319, allocations: 84.08 kB / 399.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.09322, allocations: 75.28 kB / 399.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.09326, allocations: 113.9 kB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.093e-06/0.09327, allocations: 0 / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.404e-05/0.09334, allocations: 33.61 kB / 399.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.09339, allocations: 126.7 kB / 399.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.09347, allocations: 93.86 kB / 399.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.09349, allocations: 25.7 kB / 399.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.09354, allocations: 92.38 kB / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.09355, allocations: 7.984 kB / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-06/0.09356, allocations: 0 / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.09366, allocations: 314.8 kB / 399.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.09367, allocations: 7.938 kB / 399.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.09369, allocations: 9.719 kB / 399.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.09371, allocations: 7.953 kB / 399.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.09372, allocations: 4.062 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.65e-05/0.09382, allocations: 45.62 kB / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.09385, allocations: 4 kB / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.09386, allocations: 4 kB / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.09389, allocations: 0 / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.09395, allocations: 4 kB / 400 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.09396, allocations: 0 / 400 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.09398, allocations: 0 / 400 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.09399, allocations: 3.938 kB / 400 MB, free: 13.74 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 8.613e-05/0.09408, allocations: 193.1 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.09414, allocations: 101 kB / 400.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.0942, allocations: 116 kB / 400.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.09425, allocations: 180.2 kB / 400.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.634e-05/0.09433, allocations: 184.2 kB / 400.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.165e-05/0.09439, allocations: 176.3 kB / 400.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.09461, allocations: 401.2 kB / 401.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/0.09466, allocations: 116.9 kB / 401.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.0947, allocations: 101 kB / 401.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.09478, allocations: 180.2 kB / 401.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.602e-05/0.09488, allocations: 180.2 kB / 401.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.232e-05/0.09496, allocations: 184.3 kB / 402.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.642e-05/0.09504, allocations: 184.2 kB / 402.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.09518, allocations: 304 kB / 402.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.09525, allocations: 186 kB / 402.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.09532, allocations: 184.3 kB / 402.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.09541, allocations: 108.9 kB / 403 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.09548, allocations: 180.3 kB / 403.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.09553, allocations: 104.9 kB / 403.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.09557, allocations: 83.27 kB / 403.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.09558, allocations: 0 / 403.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.09581, allocations: 0 / 403.4 MB, free: 10.14 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.0004291/0.09624, allocations: 0.7971 MB / 404.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.542e-05/0.0963, allocations: 7.938 kB / 404.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09631, allocations: 0 / 404.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.09632, allocations: 4 kB / 404.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.09666, allocations: 0.5303 MB / 404.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.09699, allocations: 171.7 kB / 404.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.0972, allocations: 0.677 MB / 405.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.09723, allocations: 3.938 kB / 405.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.09725, allocations: 11.44 kB / 405.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09726, allocations: 0 / 405.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.1085, allocations: 0.7152 MB / 406.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.1088, allocations: 170.7 kB / 406.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.749, allocations: 64 / 406.5 MB, free: 6.953 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: