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.001181/0.00118, allocations: 96.27 kB / 15.7 MB, free: 472 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.001827/0.001827, allocations: 180.4 kB / 16.58 MB, free: 6.391 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.604/1.604, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0583/0.0583, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0004692/0.0004692, allocations: 20.2 kB / 346.9 MB, free: 19.83 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09631, allocations: 51.12 MB / 398 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0006256/0.09699, allocations: 215.5 kB / 398.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.09728, allocations: 105.4 kB / 398.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.09731, allocations: 0 / 398.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.09734, allocations: 8 kB / 398.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.09756, allocations: 15.91 kB / 398.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.049e-06/0.09757, allocations: 4 kB / 398.3 MB, free: 336 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.899e-05/0.09761, allocations: 0 / 398.3 MB, free: 336 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.09766, allocations: 4 kB / 398.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.09768, allocations: 3.938 kB / 398.3 MB, free: 328 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.09779, allocations: 11.98 kB / 398.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-06/0.0978, allocations: 0 / 398.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.165e-06/0.09781, allocations: 0 / 398.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.09783, allocations: 0 / 398.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.09786, allocations: 25.7 kB / 398.4 MB, free: 284 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.669e-05/0.09789, allocations: 4 kB / 398.4 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.0979, allocations: 0 / 398.4 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.09791, allocations: 0 / 398.4 MB, free: 280 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.09792, allocations: 0 / 398.4 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.0002833/0.09821, allocations: 307.4 kB / 398.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.09827, allocations: 20.08 kB / 398.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.09831, allocations: 30.56 kB / 398.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.09834, allocations: 0 / 398.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.09843, allocations: 163.1 kB / 398.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.09845, allocations: 0 / 398.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.09846, allocations: 3.953 kB / 398.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.09857, allocations: 51.28 kB / 398.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.09858, allocations: 0 / 398.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.09859, allocations: 0 / 398.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.09861, allocations: 8 kB / 398.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.09863, allocations: 0 / 398.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.09894, allocations: 471.5 kB / 399.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.09902, allocations: 165.1 kB / 399.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.09906, allocations: 83.34 kB / 399.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.0991, allocations: 105.8 kB / 399.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.0991, allocations: 0 / 399.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.652e-05/0.09918, allocations: 37.58 kB / 399.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.09924, allocations: 126.7 kB / 399.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.09933, allocations: 97.86 kB / 400 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.09935, allocations: 33.81 kB / 400 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.09941, allocations: 92.2 kB / 400.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.09942, allocations: 0 / 400.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.09943, allocations: 0 / 400.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.09954, allocations: 314.8 kB / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.09955, allocations: 0 / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.09957, allocations: 17.72 kB / 400.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.0996, allocations: 4.062 kB / 400.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.09961, allocations: 3.953 kB / 400.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.711e-05/0.09971, allocations: 41.62 kB / 400.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.09974, allocations: 8 kB / 400.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.09975, allocations: 0 / 400.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.09976, allocations: 0 / 400.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.09982, allocations: 4 kB / 400.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.09983, allocations: 0 / 400.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.09985, allocations: 4 kB / 400.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.09987, allocations: 8.062 kB / 400.5 MB, free: 13.88 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.985e-05/0.09997, allocations: 185.1 kB / 400.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.1, allocations: 112.9 kB / 400.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.1001, allocations: 104.1 kB / 400.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.999e-05/0.1001, allocations: 184.2 kB / 401.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-05/0.1002, allocations: 180.3 kB / 401.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.266e-05/0.1003, allocations: 180.3 kB / 401.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1005, allocations: 405.2 kB / 401.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.1005, allocations: 101 kB / 401.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.1006, allocations: 108.9 kB / 402 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-05/0.1006, allocations: 180.3 kB / 402.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.1007, allocations: 188.2 kB / 402.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-05/0.1008, allocations: 180.2 kB / 402.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-05/0.1008, allocations: 180.2 kB / 402.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1011, allocations: 0.8495 MB / 403.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.1012, allocations: 178.1 kB / 403.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.1013, allocations: 192.2 kB / 404 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.1013, allocations: 105 kB / 404.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1014, allocations: 176.3 kB / 404.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1015, allocations: 104.9 kB / 404.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.1015, allocations: 83.28 kB / 404.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1015, allocations: 3.938 kB / 404.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1018, allocations: 0 / 404.4 MB, free: 9.695 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.0003486/0.1022, allocations: 0.8009 MB / 405.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.213e-05/0.1022, allocations: 12.03 kB / 405.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1022, allocations: 0 / 405.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1022, allocations: 4 kB / 405.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1025, allocations: 0.5185 MB / 405.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.1028, allocations: 175.8 kB / 405.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1031, allocations: 0.6809 MB / 406.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.734e-05/0.1031, allocations: 3.984 kB / 406.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.1031, allocations: 7.438 kB / 406.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1031, allocations: 0 / 406.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009937/0.1131, allocations: 0.7169 MB / 407.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.1133, allocations: 180.4 kB / 407.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/1.567, allocations: 0 / 407.5 MB, free: 6.512 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: