Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_symb_jac_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.001302/0.001302, allocations: 92.7 kB / 15.71 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 171.2 kB / 16.59 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05786/0.05786, allocations: 14.17 MB / 285.2 MB, free: 7.125 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.0005331/0.0005332, allocations: 20 kB / 346.9 MB, free: 19.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1004, allocations: 51.11 MB / 398 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0005796/0.101, allocations: 213.1 kB / 398.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002856/0.1013, allocations: 111.8 kB / 398.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.1014, allocations: 0 / 398.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-06/0.1014, allocations: 0 / 398.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1016, allocations: 12 kB / 398.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.1016, allocations: 0 / 398.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.741e-05/0.1017, allocations: 7.938 kB / 398.4 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.1017, allocations: 3.984 kB / 398.4 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.208e-05/0.1017, allocations: 0 / 398.4 MB, free: 288 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1018, allocations: 15.98 kB / 398.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-06/0.1019, allocations: 0 / 398.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-06/0.1019, allocations: 0 / 398.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.1019, allocations: 0 / 398.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.1019, allocations: 33.7 kB / 398.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.194e-05/0.1019, allocations: 0 / 398.4 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1019, allocations: 0 / 398.4 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1019, allocations: 0 / 398.4 MB, free: 232 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1019, allocations: 0 / 398.4 MB, free: 232 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.0002408/0.1022, allocations: 315.4 kB / 398.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1022, allocations: 16.02 kB / 398.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1023, allocations: 30.56 kB / 398.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.821e-05/0.1023, allocations: 4 kB / 398.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.1024, allocations: 159.1 kB / 398.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.1024, allocations: 7.938 kB / 398.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1024, allocations: 3.953 kB / 398.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.1025, allocations: 51.34 kB / 399 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1025, allocations: 0 / 399 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1026, allocations: 3.984 kB / 399 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-06/0.1026, allocations: 0 / 399 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.1026, allocations: 7.938 kB / 399 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1029, allocations: 463.7 kB / 399.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.103, allocations: 173.1 kB / 399.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.103, allocations: 84.08 kB / 399.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1031, allocations: 75.28 kB / 399.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1031, allocations: 113.9 kB / 399.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1031, allocations: 0 / 399.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.887e-05/0.1032, allocations: 29.61 kB / 399.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.1033, allocations: 126.7 kB / 400 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.1033, allocations: 97.86 kB / 400.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1034, allocations: 25.7 kB / 400.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1034, allocations: 92.38 kB / 400.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.1034, allocations: 4 kB / 400.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.1034, allocations: 0 / 400.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1036, allocations: 314.8 kB / 400.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.1036, allocations: 3.938 kB / 400.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.1036, allocations: 9.719 kB / 400.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.1036, allocations: 11.95 kB / 400.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1036, allocations: 4.062 kB / 400.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.865e-05/0.1037, allocations: 41.62 kB / 400.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1038, allocations: 4 kB / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1038, allocations: 4 kB / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1038, allocations: 0 / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.1038, allocations: 4 kB / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1038, allocations: 0 / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.1039, allocations: 4 kB / 400.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.1039, allocations: 0 / 400.6 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 9.296e-05/0.104, allocations: 198.2 kB / 400.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.104, allocations: 101 kB / 400.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1041, allocations: 112 kB / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/0.1042, allocations: 184.2 kB / 401.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-05/0.1042, allocations: 180.2 kB / 401.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-05/0.1043, allocations: 176.3 kB / 401.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1045, allocations: 405.2 kB / 402 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/0.1046, allocations: 112.9 kB / 402.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1046, allocations: 101 kB / 402.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.565e-05/0.1047, allocations: 180.2 kB / 402.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.1048, allocations: 184.2 kB / 402.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.124e-05/0.1049, allocations: 192.2 kB / 402.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.333e-05/0.1049, allocations: 180.2 kB / 402.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.1053, allocations: 0.8378 MB / 403.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.1054, allocations: 186.1 kB / 403.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.1055, allocations: 184.2 kB / 404.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.1056, allocations: 105 kB / 404.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.1056, allocations: 184.2 kB / 404.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.1057, allocations: 101 kB / 404.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.1057, allocations: 79.28 kB / 404.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1057, allocations: 96 / 404.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.1061, allocations: 4 kB / 404.6 MB, free: 9.559 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.0003238/0.1064, allocations: 0.8009 MB / 405.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.194e-05/0.1065, allocations: 4 kB / 405.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1065, allocations: 128 / 405.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1065, allocations: 4 kB / 405.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1069, allocations: 0.5263 MB / 405.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1072, allocations: 175.7 kB / 406.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1075, allocations: 0.677 MB / 406.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.1076, allocations: 7.906 kB / 406.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.1076, allocations: 7.438 kB / 406.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1076, allocations: 0 / 406.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.1189, allocations: 0.7255 MB / 407.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.1192, allocations: 185 kB / 407.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.715, allocations: 11.44 kB / 407.7 MB, free: 6.359 MB / 302.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) Environment - environmentSimulation: