Running command: translateModel(PowerGrids.Controls.Test.TestLeadMOrderLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag") Notification: Performance of loadModel(PowerGrids): time 2.126/2.126, allocations: 220.2 MB / 232.3 MB, free: 12.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.768e-05/4.797e-05, allocations: 4 kB / 287.8 MB, free: 5.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09609, allocations: 51.1 MB / 338.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4524, allocations: 78.14 MB / 417 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4527, allocations: 70.45 kB / 417.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3098/0.7625, allocations: 74.37 MB / 491.5 MB, free: 5.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.7626, allocations: 0 / 491.5 MB, free: 5.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000923/0.7635, allocations: 111.8 kB / 491.6 MB, free: 5.781 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.01293/0.7765, allocations: 3.236 MB / 494.8 MB, free: 2.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/0.7766, allocations: 8.031 kB / 494.8 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.7794, allocations: 430.9 kB / 495.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/0.8083, allocations: 4.979 MB / 0.4885 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.8086, allocations: 147.3 kB / 0.4887 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009356/0.8095, allocations: 251.6 kB / 0.4889 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005919/0.8155, allocations: 2.025 MB / 0.4909 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.8156, allocations: 7.875 kB / 0.4909 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.8159, allocations: 68 kB / 0.4909 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.8159, allocations: 44 kB / 0.491 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.8195, allocations: 1.229 MB / 0.4922 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02546/0.845, allocations: 12.11 MB / 0.504 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004996/0.85, allocations: 1.946 MB / 0.5059 GB, free: 9.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.8516, allocations: 0.6311 MB / 0.5065 GB, free: 9.199 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.8517, allocations: 13 kB / 0.5065 GB, free: 9.188 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.8518, allocations: 51.55 kB / 0.5066 GB, free: 9.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 7.452e-06/0.8518, allocations: 3.984 kB / 0.5066 GB, free: 9.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.00483/0.8567, allocations: 1.66 MB / 0.5082 GB, free: 7.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.8568, allocations: 115.8 kB / 0.5083 GB, free: 7.316 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008035/0.8649, allocations: 3.122 MB / 0.5114 GB, free: 4.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004525/0.8654, allocations: 61.64 kB / 0.5114 GB, free: 4.137 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/0.8679, allocations: 1.551 MB / 0.5129 GB, free: 2.574 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.869, allocations: 496.8 kB / 0.5134 GB, free: 2.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.8692, allocations: 40.06 kB / 0.5135 GB, free: 2.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.8694, allocations: 369.9 kB / 0.5138 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.8714, allocations: 0.855 MB / 0.5146 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2989/1.17, allocations: 0.9982 MB / 0.5156 GB, free: 115.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/1.173, allocations: 1.027 MB / 0.5166 GB, free: 115.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.173, allocations: 2.906 kB / 0.5166 GB, free: 115.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=209) (initialization): time 0.006052/1.179, allocations: 2.463 MB / 0.519 GB, free: 115.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.179, allocations: 7.719 kB / 0.519 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.179, allocations: 3.844 kB / 0.519 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/1.18, allocations: 85.48 kB / 0.5191 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004732/1.184, allocations: 0.779 MB / 0.5199 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.187, allocations: 2.777 MB / 0.5226 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.189, allocations: 165.7 kB / 0.5227 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/1.19, allocations: 46.23 kB / 0.5228 GB, free: 112.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004146/1.19, allocations: 180.3 kB / 0.523 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.191, allocations: 314.3 kB / 0.5233 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.192, allocations: 378.2 kB / 0.5236 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.192, allocations: 11.81 kB / 0.5236 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.633e-06/1.192, allocations: 0.5625 kB / 0.5236 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.192, allocations: 6.391 kB / 0.5236 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/1.198, allocations: 2.55 MB / 0.5261 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.198, allocations: 3.344 kB / 0.5261 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.201, allocations: 254.7 kB / 0.5264 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/1.201, allocations: 3.781 kB / 0.5264 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004868/1.202, allocations: 115.4 kB / 0.5265 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/1.202, allocations: 5.156 kB / 0.5265 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-06/1.202, allocations: 0 / 0.5265 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/1.207, allocations: 2.649 MB / 0.5291 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.208, allocations: 443.7 kB / 0.5295 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007554/1.209, allocations: 108.3 kB / 0.5296 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.21, allocations: 74.62 kB / 0.5297 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.211, allocations: 66.48 kB / 0.5297 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.211, allocations: 30.05 kB / 0.5298 GB, free: 111.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005599/1.216, allocations: 2.483 MB / 0.5322 GB, free: 111.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.159e-06/1.216, allocations: 0 / 0.5322 GB, free: 111.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002755/1.219, allocations: 0.5768 MB / 0.5328 GB, free: 111.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 101 (leadLag.leadLag.firstOrder.y,mOrderLag.leadLag.firstOrder.y,mOrderLag.firstOrderCascade[1].firstOrder1.y,mOrderLag.firstOrderCascade[2].firstOrder1.y,mOrderLag.firstOrderCascade[3].firstOrder1.y,mOrderLag.firstOrderCascade[4].firstOrder1.y,mOrderLag.firstOrderCascade[5].firstOrder1.y,mOrderLag.firstOrderCascade[6].firstOrder1.y,mOrderLag.firstOrderCascade[7].firstOrder1.y,mOrderLag.firstOrderCascade[8].firstOrder1.y,mOrderLag.firstOrderCascade[9].firstOrder1.y,mOrderLag.firstOrderCascade[10].firstOrder1.y,mOrderLag.firstOrderCascade[11].firstOrder1.y,mOrderLag.firstOrderCascade[12].firstOrder1.y,mOrderLag.firstOrderCascade[13].firstOrder1.y,mOrderLag.firstOrderCascade[14].firstOrder1.y,mOrderLag.firstOrderCascade[15].firstOrder1.y,mOrderLag.firstOrderCascade[16].firstOrder1.y,mOrderLag.firstOrderCascade[17].firstOrder1.y,mOrderLag.firstOrderCascade[18].firstOrder1.y,mOrderLag.firstOrderCascade[19].firstOrder1.y,mOrderLag.firstOrderCascade[20].firstOrder1.y,mOrderLag.firstOrderCascade[21].firstOrder1.y,mOrderLag.firstOrderCascade[22].firstOrder1.y,mOrderLag.firstOrderCascade[23].firstOrder1.y,mOrderLag.firstOrderCascade[24].firstOrder1.y,mOrderLag.firstOrderCascade[25].firstOrder1.y,mOrderLag.firstOrderCascade[26].firstOrder1.y,mOrderLag.firstOrderCascade[27].firstOrder1.y,mOrderLag.firstOrderCascade[28].firstOrder1.y,mOrderLag.firstOrderCascade[29].firstOrder1.y,mOrderLag.firstOrderCascade[30].firstOrder1.y,mOrderLag.firstOrderCascade[31].firstOrder1.y,mOrderLag.firstOrderCascade[32].firstOrder1.y,mOrderLag.firstOrderCascade[33].firstOrder1.y,mOrderLag.firstOrderCascade[34].firstOrder1.y,mOrderLag.firstOrderCascade[35].firstOrder1.y,mOrderLag.firstOrderCascade[36].firstOrder1.y,mOrderLag.firstOrderCascade[37].firstOrder1.y,mOrderLag.firstOrderCascade[38].firstOrder1.y,mOrderLag.firstOrderCascade[39].firstOrder1.y,mOrderLag.firstOrderCascade[40].firstOrder1.y,mOrderLag.firstOrderCascade[41].firstOrder1.y,mOrderLag.firstOrderCascade[42].firstOrder1.y,mOrderLag.firstOrderCascade[43].firstOrder1.y,mOrderLag.firstOrderCascade[44].firstOrder1.y,mOrderLag.firstOrderCascade[45].firstOrder1.y,mOrderLag.firstOrderCascade[46].firstOrder1.y,mOrderLag.firstOrderCascade[47].firstOrder1.y,mOrderLag.firstOrderCascade[48].firstOrder1.y,mOrderLag.firstOrderCascade[49].firstOrder1.y,mOrderLag.firstOrderCascade[50].firstOrder1.y,mOrderLag.firstOrderCascade[51].firstOrder1.y,mOrderLag.firstOrderCascade[52].firstOrder1.y,mOrderLag.firstOrderCascade[53].firstOrder1.y,mOrderLag.firstOrderCascade[54].firstOrder1.y,mOrderLag.firstOrderCascade[55].firstOrder1.y,mOrderLag.firstOrderCascade[56].firstOrder1.y,mOrderLag.firstOrderCascade[57].firstOrder1.y,mOrderLag.firstOrderCascade[58].firstOrder1.y,mOrderLag.firstOrderCascade[59].firstOrder1.y,mOrderLag.firstOrderCascade[60].firstOrder1.y,mOrderLag.firstOrderCascade[61].firstOrder1.y,mOrderLag.firstOrderCascade[62].firstOrder1.y,mOrderLag.firstOrderCascade[63].firstOrder1.y,mOrderLag.firstOrderCascade[64].firstOrder1.y,mOrderLag.firstOrderCascade[65].firstOrder1.y,mOrderLag.firstOrderCascade[66].firstOrder1.y,mOrderLag.firstOrderCascade[67].firstOrder1.y,mOrderLag.firstOrderCascade[68].firstOrder1.y,mOrderLag.firstOrderCascade[69].firstOrder1.y,mOrderLag.firstOrderCascade[70].firstOrder1.y,mOrderLag.firstOrderCascade[71].firstOrder1.y,mOrderLag.firstOrderCascade[72].firstOrder1.y,mOrderLag.firstOrderCascade[73].firstOrder1.y,mOrderLag.firstOrderCascade[74].firstOrder1.y,mOrderLag.firstOrderCascade[75].firstOrder1.y,mOrderLag.firstOrderCascade[76].firstOrder1.y,mOrderLag.firstOrderCascade[77].firstOrder1.y,mOrderLag.firstOrderCascade[78].firstOrder1.y,mOrderLag.firstOrderCascade[79].firstOrder1.y,mOrderLag.firstOrderCascade[80].firstOrder1.y,mOrderLag.firstOrderCascade[81].firstOrder1.y,mOrderLag.firstOrderCascade[82].firstOrder1.y,mOrderLag.firstOrderCascade[83].firstOrder1.y,mOrderLag.firstOrderCascade[84].firstOrder1.y,mOrderLag.firstOrderCascade[85].firstOrder1.y,mOrderLag.firstOrderCascade[86].firstOrder1.y,mOrderLag.firstOrderCascade[87].firstOrder1.y,mOrderLag.firstOrderCascade[88].firstOrder1.y,mOrderLag.firstOrderCascade[89].firstOrder1.y,mOrderLag.firstOrderCascade[90].firstOrder1.y,mOrderLag.firstOrderCascade[91].firstOrder1.y,mOrderLag.firstOrderCascade[92].firstOrder1.y,mOrderLag.firstOrderCascade[93].firstOrder1.y,mOrderLag.firstOrderCascade[94].firstOrder1.y,mOrderLag.firstOrderCascade[95].firstOrder1.y,mOrderLag.firstOrderCascade[96].firstOrder1.y,mOrderLag.firstOrderCascade[97].firstOrder1.y,mOrderLag.firstOrderCascade[98].firstOrder1.y,mOrderLag.firstOrderCascade[99].firstOrder1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 108 * 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.0004846/1.22, allocations: 254.1 kB / 0.533 GB, free: 111.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003982/1.224, allocations: 1.933 MB / 0.5349 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.224, allocations: 0 / 0.5349 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.225, allocations: 0.705 MB / 0.5356 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006686/1.232, allocations: 1.344 MB / 0.5369 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.245, allocations: 7.363 MB / 0.5441 GB, free: 109.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.249, allocations: 2.819 MB / 0.5468 GB, free: 108.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003511/1.253, allocations: 0.7848 MB / 0.5476 GB, free: 108.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.254, allocations: 190.9 kB / 0.5478 GB, free: 108.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.903e-06/1.254, allocations: 3.906 kB / 0.5478 GB, free: 108.3 MB / 442.7 MB Notification: Performance of Templates: time 0.1067/1.361, allocations: 42.2 MB / 0.589 GB, free: 89.5 MB / 442.7 MB