Running command: translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadModel(PowerGrids): time 2.099/2.099, allocations: 220.2 MB / 232.3 MB, free: 12.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.693e-05, allocations: 2.344 kB / 287.8 MB, free: 5.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 51.1 MB / 338.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.4989, allocations: 77.69 MB / 416.6 MB, free: 80 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4991, allocations: 66.47 kB / 416.7 MB, free: 44 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009415/0.5086, allocations: 2.264 MB / 418.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5086, allocations: 0 / 418.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.5086, allocations: 4 kB / 418.9 MB, free: 14.09 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005115/0.5092, allocations: 391.6 kB / 419.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5092, allocations: 12.03 kB / 419.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.5093, allocations: 11.91 kB / 419.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.5098, allocations: 236.6 kB / 419.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.5098, allocations: 10.39 kB / 419.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.5099, allocations: 11.42 kB / 419.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.5101, allocations: 108.7 kB / 419.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.885e-06/0.5102, allocations: 4 kB / 419.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.5102, allocations: 4 kB / 419.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5102, allocations: 0 / 419.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.5103, allocations: 47.3 kB / 419.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009912/0.5113, allocations: 0.5958 MB / 420.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.5118, allocations: 117.7 kB / 420.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.5119, allocations: 41.2 kB / 420.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5119, allocations: 0 / 420.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.512, allocations: 34.56 kB / 420.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.489e-06/0.512, allocations: 0 / 420.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000314/0.5123, allocations: 80.62 kB / 420.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.5124, allocations: 106.9 kB / 420.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5126, allocations: 143.2 kB / 420.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5126, allocations: 25.7 kB / 420.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.5127, allocations: 113.4 kB / 421 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.5128, allocations: 20.23 kB / 421 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-06/0.5128, allocations: 0 / 421 MB, free: 11.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.513, allocations: 322.7 kB / 421.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.5131, allocations: 14.62 kB / 421.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.5132, allocations: 68.08 kB / 421.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.5132, allocations: 19.97 kB / 421.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-06/0.5133, allocations: 0 / 421.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004018/0.5137, allocations: 131.7 kB / 421.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5137, allocations: 5.25 kB / 421.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.103e-06/0.5137, allocations: 0 / 421.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.514, allocations: 36.2 kB / 421.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.5141, allocations: 19.86 kB / 421.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.5157, allocations: 1.357 MB / 423 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.5159, allocations: 8.031 kB / 423 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.5159, allocations: 4.062 kB / 423 MB, free: 9.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5161, allocations: 120.7 kB / 423.1 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5162, allocations: 7.906 kB / 423.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.5162, allocations: 15.78 kB / 423.1 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-06/0.5162, allocations: 0 / 423.1 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.772e-06/0.5163, allocations: 4 kB / 423.1 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-06/0.5163, allocations: 0 / 423.1 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.5167, allocations: 216.5 kB / 423.3 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.348e-06/0.5168, allocations: 4 kB / 423.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.5169, allocations: 15.98 kB / 423.3 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.421e-06/0.517, allocations: 4 kB / 423.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.517, allocations: 0 / 423.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.881e-06/0.517, allocations: 0 / 423.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.026e-06/0.517, allocations: 4.062 kB / 423.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.5174, allocations: 378 kB / 423.7 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.727e-05/0.5175, allocations: 92.05 kB / 423.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.5176, allocations: 0 / 423.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5178, allocations: 7.984 kB / 423.8 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.5179, allocations: 11.3 kB / 423.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.5179, allocations: 4 kB / 423.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.518, allocations: 119.8 kB / 424 MB, free: 8.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.518, allocations: 0 / 424 MB, free: 8.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.5185, allocations: 31.83 kB / 424 MB, free: 8.879 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete 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 (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.0001544/0.5187, allocations: 99.19 kB / 424.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.5192, allocations: 171.2 kB / 424.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.177e-06/0.5192, allocations: 0 / 424.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.5193, allocations: 32.05 kB / 424.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.5197, allocations: 22.17 kB / 424.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.5203, allocations: 175.2 kB / 424.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.5207, allocations: 0.7122 MB / 425.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.079e-05/0.5208, allocations: 8.656 kB / 425.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.5209, allocations: 15.44 kB / 425.2 MB, free: 7.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5209, allocations: 0 / 425.2 MB, free: 7.621 MB / 346.7 MB Notification: Performance of Templates: time 0.00499/0.5259, allocations: 1.111 MB / 426.3 MB, free: 6.527 MB / 346.7 MB