Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadModel(PowerGrids): time 2.145/2.145, allocations: 220.2 MB / 232.3 MB, free: 12.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.645e-05/4.667e-05, allocations: 6.344 kB / 287.8 MB, free: 5.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09835, allocations: 51.1 MB / 338.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/0.4847, allocations: 77.88 MB / 416.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.4851, allocations: 64.03 kB / 416.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.5, allocations: 2.209 MB / 419.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.283e-06/0.5, allocations: 0 / 419.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.5001, allocations: 4 kB / 419.1 MB, free: 13.95 MB / 346.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.0007418/0.5008, allocations: 381 kB / 419.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5009, allocations: 8.031 kB / 419.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.501, allocations: 18.08 kB / 419.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.5018, allocations: 242.3 kB / 419.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.5018, allocations: 19.45 kB / 419.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.5019, allocations: 15.8 kB / 419.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.5023, allocations: 111.8 kB / 419.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5023, allocations: 3.938 kB / 419.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.5024, allocations: 3.875 kB / 419.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.5024, allocations: 4 kB / 419.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.5027, allocations: 42 kB / 419.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.5044, allocations: 0.7712 MB / 420.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.5046, allocations: 70.67 kB / 420.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5048, allocations: 33.45 kB / 420.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.5048, allocations: 7.953 kB / 420.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.5049, allocations: 34.64 kB / 420.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.979e-06/0.5049, allocations: 0 / 420.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004739/0.5054, allocations: 71.78 kB / 420.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5056, allocations: 106.8 kB / 421 MB, free: 11.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.5058, allocations: 135.7 kB / 421.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.5059, allocations: 29.02 kB / 421.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.5061, allocations: 126.2 kB / 421.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.5061, allocations: 19.86 kB / 421.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.5062, allocations: 4 kB / 421.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.5064, allocations: 321.5 kB / 421.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.5065, allocations: 11.38 kB / 421.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.5067, allocations: 66.72 kB / 421.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.5068, allocations: 18.73 kB / 421.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.5069, allocations: 4 kB / 421.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003883/0.5073, allocations: 98.45 kB / 421.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.5073, allocations: 9.203 kB / 421.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5074, allocations: 4 kB / 421.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.5074, allocations: 0 / 421.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.5078, allocations: 27.92 kB / 421.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.5078, allocations: 0 / 421.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.508, allocations: 19.31 kB / 421.9 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.5081, allocations: 8.156 kB / 421.9 MB, free: 11.05 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001366/0.5082, allocations: 104.5 kB / 422 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.5084, allocations: 19.92 kB / 422 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.5085, allocations: 11.92 kB / 422 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-06/0.5086, allocations: 4 kB / 422 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-06/0.5086, allocations: 192 / 422 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.341e-06/0.5086, allocations: 0 / 422 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.5093, allocations: 208.1 kB / 422.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.966e-06/0.5094, allocations: 0 / 422.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.5097, allocations: 23.92 kB / 422.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.49e-06/0.5097, allocations: 0 / 422.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.5097, allocations: 4 kB / 422.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.5098, allocations: 3.953 kB / 422.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.042e-06/0.5098, allocations: 0 / 422.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.5104, allocations: 368 kB / 422.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5105, allocations: 89 kB / 422.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5106, allocations: 0 / 422.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.511, allocations: 4 kB / 422.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.5111, allocations: 11.42 kB / 422.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.5112, allocations: 3.938 kB / 422.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.5113, allocations: 113 kB / 422.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.377e-06/0.5114, allocations: 0 / 422.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008597/0.5123, allocations: 24 kB / 422.8 MB, free: 10.04 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002086/0.5125, allocations: 110.4 kB / 422.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.5128, allocations: 40.94 kB / 423 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.422e-06/0.5128, allocations: 0 / 423 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5129, allocations: 19.12 kB / 423 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.5136, allocations: 23.23 kB / 423 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007816/0.5144, allocations: 168 kB / 423.2 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.515, allocations: 0.7121 MB / 423.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.5152, allocations: 12.55 kB / 423.9 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.5153, allocations: 15.44 kB / 423.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of SimCode: time 2.457e-06/0.5153, allocations: 0 / 423.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of Templates: time 0.007124/0.5224, allocations: 0.8715 MB / 424.8 MB, free: 8.055 MB / 346.7 MB