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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001091, allocations: 96.81 kB / 15.69 MB, free: 480 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.001104/0.001104, allocations: 177.5 kB / 16.57 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.573/1.573, allocations: 205.4 MB / 222.7 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.06082/0.06082, allocations: 14.16 MB / 285.2 MB, free: 7.152 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.0004824/0.0004824, allocations: 20 kB / 346.8 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09777, allocations: 51.12 MB / 397.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0006412/0.09845, allocations: 207.5 kB / 398.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002893/0.09876, allocations: 117.3 kB / 398.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.09881, allocations: 0 / 398.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.09882, allocations: 0 / 398.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.09908, allocations: 11.94 kB / 398.2 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.09909, allocations: 0 / 398.2 MB, free: 436 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.551e-05/0.09913, allocations: 11.98 kB / 398.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.09919, allocations: 0 / 398.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.0992, allocations: 0 / 398.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.09931, allocations: 11.92 kB / 398.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.09932, allocations: 0 / 398.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-06/0.09933, allocations: 4 kB / 398.2 MB, free: 408 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-06/0.09934, allocations: 0 / 398.2 MB, free: 408 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.09936, allocations: 25.7 kB / 398.3 MB, free: 376 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 1.975e-05/0.09938, allocations: 4 kB / 398.3 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.09939, allocations: 0 / 398.3 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0994, allocations: 0 / 398.3 MB, free: 372 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.0994, allocations: 0 / 398.3 MB, free: 372 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.000216/0.09962, allocations: 307.4 kB / 398.6 MB, free: 16 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.09967, allocations: 15.95 kB / 398.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.09969, allocations: 0 / 398.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.0998, allocations: 163.2 kB / 398.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.09982, allocations: 0 / 398.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.09983, allocations: 4 kB / 398.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/0.09994, allocations: 51.22 kB / 398.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.09995, allocations: 0 / 398.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.09996, allocations: 4 kB / 398.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.09997, allocations: 0 / 398.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.1, allocations: 3.984 kB / 398.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1004, allocations: 471.6 kB / 399.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.1005, allocations: 177.1 kB / 399.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1005, allocations: 75.28 kB / 399.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.1006, allocations: 105.8 kB / 399.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1006, allocations: 0 / 399.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.065e-05/0.1006, allocations: 37.72 kB / 399.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1007, allocations: 130.6 kB / 399.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.1008, allocations: 101.8 kB / 399.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1008, allocations: 25.7 kB / 399.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.1009, allocations: 84.36 kB / 400 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.1009, allocations: 4 kB / 400 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.1009, allocations: 3.938 kB / 400 MB, free: 14.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.101, allocations: 315 kB / 400.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-06/0.101, allocations: 0 / 400.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.101, allocations: 21.7 kB / 400.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.1011, allocations: 0 / 400.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1011, allocations: 0 / 400.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/0.1012, allocations: 45.5 kB / 400.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1012, allocations: 8 kB / 400.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1012, allocations: 4.125 kB / 400.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1013, allocations: 0 / 400.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.1013, allocations: 4 kB / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1013, allocations: 3.984 kB / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.1014, allocations: 0 / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1014, allocations: 4 kB / 400.4 MB, free: 14 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.595e-05/0.1015, allocations: 185.1 kB / 400.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.1015, allocations: 108.9 kB / 400.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.1016, allocations: 112.1 kB / 400.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/0.1017, allocations: 176.3 kB / 401 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-05/0.1018, allocations: 184.2 kB / 401.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.692e-05/0.1019, allocations: 184.3 kB / 401.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1021, allocations: 401.2 kB / 401.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/0.1022, allocations: 112.9 kB / 401.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.1022, allocations: 101 kB / 401.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-05/0.1023, allocations: 184.2 kB / 402.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/0.1024, allocations: 184.3 kB / 402.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.3e-05/0.1024, allocations: 180.2 kB / 402.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.178e-05/0.1025, allocations: 176.3 kB / 402.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1029, allocations: 0.8534 MB / 403.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.103, allocations: 178.1 kB / 403.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.1031, allocations: 184.3 kB / 403.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.1032, allocations: 112.9 kB / 403.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.1033, allocations: 176.3 kB / 404.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.1033, allocations: 108.9 kB / 404.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.1034, allocations: 79.28 kB / 404.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1034, allocations: 0 / 404.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.1037, allocations: 0 / 404.3 MB, free: 9.824 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.0001062/0.1038, allocations: 174.6 kB / 404.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.272e-05/0.1039, allocations: 4 kB / 404.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1039, allocations: 0 / 404.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1039, allocations: 0 / 404.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1042, allocations: 0.5262 MB / 405 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.1044, allocations: 154.2 kB / 405.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1047, allocations: 0.6731 MB / 405.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.1047, allocations: 0 / 405.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.1047, allocations: 7.438 kB / 405.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1047, allocations: 0 / 405.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of Templates: time 0.00175/0.1065, allocations: 164.5 kB / 406 MB, free: 8.062 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile Environment - environmentSimulation: (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 & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) Environment - environmentSimulation: