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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_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.000913/0.0009131, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001074/0.001074, allocations: 177.3 kB / 15.94 MB, free: 228 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.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09154/0.09154, allocations: 14.16 MB / 284.5 MB, free: 7.023 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.0007419/0.000742, allocations: 12.22 kB / 346.1 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08725, allocations: 51.13 MB / 397.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0005078/0.08779, allocations: 204.5 kB / 397.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002524/0.08806, allocations: 115.7 kB / 397.6 MB, free: 440 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.0881, allocations: 4 kB / 397.6 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.217e-06/0.08811, allocations: 0 / 397.6 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.08832, allocations: 15.94 kB / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.08833, allocations: 0 / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.631e-05/0.08836, allocations: 0 / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.08841, allocations: 3.984 kB / 397.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.281e-05/0.08843, allocations: 3.984 kB / 397.6 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.456e-05/0.08853, allocations: 15.94 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-06/0.08854, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-06/0.08855, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-06/0.08856, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.08858, allocations: 29.7 kB / 397.6 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 1.805e-05/0.0886, allocations: 0 / 397.6 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.08861, allocations: 0 / 397.6 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08861, allocations: 0 / 397.6 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.08862, allocations: 0 / 397.6 MB, free: 360 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.0002176/0.08884, allocations: 307.4 kB / 397.9 MB, free: 4 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.0889, allocations: 16.3 kB / 397.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.08893, allocations: 4 kB / 397.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/0.08902, allocations: 159.1 kB / 398.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.08904, allocations: 0 / 398.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.08905, allocations: 4 kB / 398.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.08915, allocations: 47.31 kB / 398.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-06/0.08916, allocations: 4 kB / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.08918, allocations: 3.984 kB / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.08919, allocations: 4 kB / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.08921, allocations: 0 / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.08952, allocations: 463.6 kB / 398.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.08961, allocations: 173.1 kB / 398.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.08964, allocations: 79.28 kB / 398.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.0897, allocations: 113.8 kB / 399 MB, free: 14.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.08971, allocations: 3.938 kB / 399 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.132e-05/0.08977, allocations: 25.7 kB / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.08983, allocations: 134.6 kB / 399.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.08992, allocations: 93.77 kB / 399.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.08994, allocations: 25.83 kB / 399.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.08999, allocations: 96.36 kB / 399.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.09, allocations: 3.938 kB / 399.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.09, allocations: 0 / 399.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.09011, allocations: 314.9 kB / 399.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-06/0.09013, allocations: 0 / 399.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.09015, allocations: 17.72 kB / 399.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.09017, allocations: 4.062 kB / 399.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09018, allocations: 0 / 399.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.09029, allocations: 53.5 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.09031, allocations: 4 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.09032, allocations: 0 / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.09033, allocations: 3.984 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.09038, allocations: 4 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.09039, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.09041, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.09042, allocations: 4 kB / 399.7 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 7.985e-05/0.09051, allocations: 189.2 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.09057, allocations: 112.9 kB / 400 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.09062, allocations: 108.1 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.09068, allocations: 180.2 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.012e-05/0.09073, allocations: 180.2 kB / 400.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/0.0908, allocations: 180.3 kB / 400.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.091, allocations: 409.2 kB / 401.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.09104, allocations: 101 kB / 401.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.09108, allocations: 101 kB / 401.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.845e-05/0.09114, allocations: 188.2 kB / 401.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.0912, allocations: 180.3 kB / 401.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-05/0.09126, allocations: 180.2 kB / 401.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.058e-05/0.09133, allocations: 184.2 kB / 402 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.09144, allocations: 299.8 kB / 402.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.09152, allocations: 182.4 kB / 402.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.0916, allocations: 200.1 kB / 402.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.09167, allocations: 105 kB / 402.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.09174, allocations: 180.3 kB / 402.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.09178, allocations: 108.9 kB / 403 MB, free: 10.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.09181, allocations: 75.28 kB / 403.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.09182, allocations: 0 / 403.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.09203, allocations: 11.97 kB / 403.1 MB, free: 10.39 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 9.389e-05/0.09213, allocations: 170.5 kB / 403.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.288e-05/0.09219, allocations: 8 kB / 403.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0922, allocations: 0 / 403.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.09221, allocations: 3.938 kB / 403.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.09248, allocations: 0.5226 MB / 403.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.09265, allocations: 146 kB / 404 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.09287, allocations: 0.6731 MB / 404.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.578e-05/0.09289, allocations: 0 / 404.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.09292, allocations: 11.44 kB / 404.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09293, allocations: 0 / 404.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of Templates: time 0.001579/0.09451, allocations: 156.5 kB / 404.8 MB, free: 8.641 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile Environment - environmentSimulation: (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 & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) Environment - environmentSimulation: