Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001697, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 103.9 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06035/0.06035, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 47.92 kB / 393.7 MB, free: 62.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07214/0.07324, allocations: 50.15 MB / 443.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002566/0.07584, allocations: 1.882 MB / 445.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002668/0.07613, allocations: 159.4 kB / 445.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.07625, allocations: 3.938 kB / 445.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.07638, allocations: 23.86 kB / 445.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.07651, allocations: 15.88 kB / 445.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.351e-05/0.07659, allocations: 35.97 kB / 445.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.07672, allocations: 119.6 kB / 446.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.07685, allocations: 53.25 kB / 446.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.07689, allocations: 39.8 kB / 446.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.07697, allocations: 51.7 kB / 446.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.077, allocations: 4 kB / 446.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.115e-05/0.07704, allocations: 4 kB / 446.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.07708, allocations: 15.88 kB / 446.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.07712, allocations: 43.73 kB / 446.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.07722, allocations: 103.6 kB / 446.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.07723, allocations: 0 / 446.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.07723, allocations: 0 / 446.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.07724, allocations: 0 / 446.4 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003979/0.07764, allocations: 423.2 kB / 446.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.07768, allocations: 8.031 kB / 446.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.07773, allocations: 16.75 kB / 446.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.0779, allocations: 212 kB / 447 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.07792, allocations: 8.562 kB / 447 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.07795, allocations: 8.375 kB / 447 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.07815, allocations: 142.2 kB / 447.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.07817, allocations: 0 / 447.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.07818, allocations: 4 kB / 447.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.07819, allocations: 4 kB / 447.2 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.07837, allocations: 63.89 kB / 447.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.07885, allocations: 0.6069 MB / 447.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.07907, allocations: 111.8 kB / 448 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.07916, allocations: 42.69 kB / 448 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.07919, allocations: 4 kB / 448 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.07921, allocations: 38.5 kB / 448 MB, free: 8.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.07921, allocations: 3.984 kB / 448 MB, free: 8.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003214/0.07954, allocations: 125.5 kB / 448.2 MB, free: 8.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.07957, allocations: 110.8 kB / 448.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.07966, allocations: 142.5 kB / 448.4 MB, free: 7.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.07967, allocations: 33.89 kB / 448.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.07972, allocations: 119.9 kB / 448.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.07974, allocations: 27.56 kB / 448.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.07978, allocations: 25.7 kB / 448.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.07982, allocations: 318.8 kB / 448.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.0799, allocations: 27.98 kB / 448.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.07999, allocations: 66 kB / 449 MB, free: 7.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.08016, allocations: 105 kB / 449.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.08016, allocations: 0 / 449.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002078/0.08038, allocations: 121.4 kB / 449.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.0804, allocations: 4 kB / 449.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.0804, allocations: 0 / 449.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.08042, allocations: 4 kB / 449.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.08054, allocations: 28.14 kB / 449.3 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.08056, allocations: 3.984 kB / 449.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.08063, allocations: 15.94 kB / 449.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.08065, allocations: 4 kB / 449.3 MB, free: 6.836 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.08071, allocations: 134.5 kB / 449.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.08075, allocations: 15.81 kB / 449.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.08078, allocations: 12.3 kB / 449.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.08079, allocations: 4 kB / 449.5 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0808, allocations: 4 kB / 449.5 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.08081, allocations: 0 / 449.5 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.08096, allocations: 209.5 kB / 449.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.08096, allocations: 0 / 449.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.08109, allocations: 16.3 kB / 449.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0811, allocations: 4 kB / 449.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.08111, allocations: 0 / 449.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.08112, allocations: 4 kB / 449.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.08113, allocations: 7.922 kB / 449.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.08203, allocations: 1.212 MB / 450.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.08207, allocations: 85.05 kB / 451 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.08209, allocations: 7.938 kB / 451 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.08218, allocations: 4 kB / 451 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.08223, allocations: 11.92 kB / 451 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.08224, allocations: 4 kB / 451 MB, free: 4.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.08229, allocations: 115.9 kB / 451.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0823, allocations: 12.03 kB / 451.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.0826, allocations: 23.84 kB / 451.2 MB, free: 4.742 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.238e-05/0.08266, allocations: 95.25 kB / 451.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.08286, allocations: 67.89 kB / 451.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.08287, allocations: 0 / 451.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.08296, allocations: 36.3 kB / 451.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.08328, allocations: 27.55 kB / 451.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.0837, allocations: 398.1 kB / 451.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.465e-05/0.08381, allocations: 0.7082 MB / 452.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.08388, allocations: 12.56 kB / 452.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.08391, allocations: 15.42 kB / 452.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.08392, allocations: 0 / 452.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of Templates: time 0.002543/0.08646, allocations: 0.9644 MB / 453.5 MB, free: 2.355 MB / 298.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)