Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 105 kB / 16.97 MB, free: 6.168 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.001044/0.001044, allocations: 184.9 kB / 17.89 MB, free: 5.266 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.32/1.32, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.063/0.063, allocations: 14.18 MB / 285.3 MB, free: 13.93 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.001475/0.001475, allocations: 63.91 kB / 348.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1995, allocations: 50.13 MB / 398.7 MB, free: 48.61 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002532/0.2021, allocations: 1.819 MB / 400.5 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000318/0.2024, allocations: 171.5 kB / 400.7 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.2025, allocations: 6.688 kB / 400.7 MB, free: 47.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.2027, allocations: 26.42 kB / 400.7 MB, free: 47.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2028, allocations: 30.47 kB / 400.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.603e-05/0.2029, allocations: 37.17 kB / 400.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.203, allocations: 122.4 kB / 400.9 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2032, allocations: 50.45 kB / 401 MB, free: 46.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.2032, allocations: 52.72 kB / 401 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.2033, allocations: 45.39 kB / 401.1 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.2034, allocations: 8.531 kB / 401.1 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/0.2034, allocations: 8.906 kB / 401.1 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.2034, allocations: 27.33 kB / 401.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.2035, allocations: 49.08 kB / 401.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2036, allocations: 109.6 kB / 401.3 MB, free: 46.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2036, allocations: 0 / 401.3 MB, free: 46.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2036, allocations: 1.25 kB / 401.3 MB, free: 46.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2036, allocations: 0 / 401.3 MB, free: 46.63 MB / 318.1 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.0004259/0.204, allocations: 420.4 kB / 401.7 MB, free: 46.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2041, allocations: 13.59 kB / 401.7 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.2041, allocations: 19.59 kB / 401.7 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.2043, allocations: 212.2 kB / 401.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2044, allocations: 9.125 kB / 401.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.2044, allocations: 15.22 kB / 401.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2046, allocations: 137.3 kB / 402.1 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.2046, allocations: 0 / 402.1 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2047, allocations: 8.938 kB / 402.1 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2047, allocations: 2.656 kB / 402.1 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.2049, allocations: 67.27 kB / 402.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.2054, allocations: 0.5989 MB / 402.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.2056, allocations: 106.6 kB / 402.9 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.2057, allocations: 45.56 kB / 402.9 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2058, allocations: 5.344 kB / 402.9 MB, free: 45.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.2058, allocations: 37.05 kB / 402.9 MB, free: 45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2058, allocations: 0 / 402.9 MB, free: 45 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003434/0.2061, allocations: 122.6 kB / 403.1 MB, free: 44.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.2062, allocations: 104.1 kB / 403.2 MB, free: 44.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.2063, allocations: 154.3 kB / 403.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2063, allocations: 30.92 kB / 403.4 MB, free: 44.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.2063, allocations: 114.3 kB / 403.5 MB, free: 44.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2064, allocations: 27.64 kB / 403.5 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.2064, allocations: 21.31 kB / 403.5 MB, free: 44.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.2064, allocations: 321.5 kB / 403.8 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.2065, allocations: 28.36 kB / 403.9 MB, free: 44.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.2066, allocations: 67.36 kB / 403.9 MB, free: 44.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.2068, allocations: 97.98 kB / 404 MB, free: 43.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2068, allocations: 0 / 404 MB, free: 43.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002417/0.2071, allocations: 132.1 kB / 404.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2071, allocations: 5.156 kB / 404.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2071, allocations: 1.188 kB / 404.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2071, allocations: 6.109 kB / 404.2 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2073, allocations: 27.52 kB / 404.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2073, allocations: 3.188 kB / 404.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.2074, allocations: 3.906 kB / 404.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.2074, allocations: 7.688 kB / 404.2 MB, free: 43.89 MB / 318.1 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 8.042e-05/0.2075, allocations: 136.6 kB / 404.3 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.2075, allocations: 16.97 kB / 404.3 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.2076, allocations: 11.22 kB / 404.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2076, allocations: 1.5 kB / 404.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2076, allocations: 1.438 kB / 404.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2076, allocations: 1 kB / 404.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2078, allocations: 216.8 kB / 404.6 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2078, allocations: 0 / 404.6 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2079, allocations: 16.64 kB / 404.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2079, allocations: 1.156 kB / 404.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2079, allocations: 5.25 kB / 404.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2079, allocations: 2.469 kB / 404.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2079, allocations: 0 / 404.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.2091, allocations: 1.361 MB / 406 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.2091, allocations: 87.2 kB / 406 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2091, allocations: 18.27 kB / 406.1 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.2092, allocations: 3.281 kB / 406.1 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2093, allocations: 7.328 kB / 406.1 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2093, allocations: 6.219 kB / 406.1 MB, free: 42.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.455e-05/0.2094, allocations: 111 kB / 406.2 MB, free: 41.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2094, allocations: 0 / 406.2 MB, free: 41.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.2097, allocations: 25.72 kB / 406.2 MB, free: 41.91 MB / 318.1 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 6.887e-05/0.2098, allocations: 100.9 kB / 406.3 MB, free: 41.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.21, allocations: 66.8 kB / 406.4 MB, free: 41.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.21, allocations: 1.375 kB / 406.4 MB, free: 41.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.2101, allocations: 29.98 kB / 406.4 MB, free: 41.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2105, allocations: 28.95 kB / 406.4 MB, free: 41.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.211, allocations: 404.4 kB / 406.8 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2111, allocations: 0.7099 MB / 407.5 MB, free: 40.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.2111, allocations: 14.22 kB / 407.6 MB, free: 40.67 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2111, allocations: 0 / 407.6 MB, free: 40.67 MB / 318.1 MB Notification: Performance of Templates: time 0.002668/0.2138, allocations: 1.422 MB / 409 MB, free: 39.92 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)