Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadMOrderLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadMOrderLag",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerGrids): time 2.348/2.348, allocations: 220.2 MB / 232.3 MB, free: 12.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.632e-05/4.636e-05, allocations: 6.5 kB / 287.9 MB, free: 5.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 51.1 MB / 339 MB, free: 2.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.5639, allocations: 78.14 MB / 417.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5643, allocations: 67.39 kB / 417.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3317/0.896, allocations: 74.38 MB / 491.6 MB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.896, allocations: 0 / 491.6 MB, free: 5.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00123/0.8973, allocations: 111.8 kB / 491.7 MB, free: 5.68 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.01281/0.9101, allocations: 3.244 MB / 494.9 MB, free: 2.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.9102, allocations: 8.031 kB / 495 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.9114, allocations: 248.6 kB / 495.2 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.9136, allocations: 426.9 kB / 495.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02343/0.937, allocations: 4.979 MB / 0.4889 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.9374, allocations: 151.3 kB / 0.489 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.9385, allocations: 255.6 kB / 0.4892 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/0.9445, allocations: 2.024 MB / 0.4912 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.9446, allocations: 3.938 kB / 0.4912 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.9449, allocations: 64 kB / 0.4913 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.945, allocations: 44 kB / 0.4913 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.949, allocations: 1.233 MB / 0.4925 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03037/0.9794, allocations: 12.11 MB / 0.5044 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005865/0.9854, allocations: 1.946 MB / 0.5063 GB, free: 9.473 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.9872, allocations: 0.635 MB / 0.5069 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.9874, allocations: 13 kB / 0.5069 GB, free: 8.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.9875, allocations: 43.56 kB / 0.5069 GB, free: 8.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 4.418e-06/0.9875, allocations: 3.938 kB / 0.5069 GB, free: 8.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.0058/0.9933, allocations: 1.66 MB / 0.5086 GB, free: 7.098 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.9935, allocations: 115.8 kB / 0.5087 GB, free: 6.957 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009593/1.003, allocations: 3.122 MB / 0.5117 GB, free: 3.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006576/1.004, allocations: 61.7 kB / 0.5118 GB, free: 3.777 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003237/1.007, allocations: 1.551 MB / 0.5133 GB, free: 2.215 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.009, allocations: 496.8 kB / 0.5138 GB, free: 1.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/1.009, allocations: 36 kB / 0.5138 GB, free: 1.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/1.009, allocations: 369.9 kB / 0.5141 GB, free: 1.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/1.012, allocations: 0.859 MB / 0.515 GB, free: 472 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3077/1.32, allocations: 0.9988 MB / 0.516 GB, free: 114.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/1.323, allocations: 1.029 MB / 0.517 GB, free: 114.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.323, allocations: 0 / 0.517 GB, free: 114.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=209) (initialization): time 0.007815/1.331, allocations: 2.46 MB / 0.5194 GB, free: 114.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/1.331, allocations: 6.906 kB / 0.5194 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.331, allocations: 0.7031 kB / 0.5194 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/1.332, allocations: 84.83 kB / 0.5195 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006978/1.339, allocations: 0.7834 MB / 0.5202 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/1.342, allocations: 2.778 MB / 0.5229 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/1.344, allocations: 165.9 kB / 0.5231 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/1.345, allocations: 49.83 kB / 0.5231 GB, free: 112.1 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.000496/1.345, allocations: 175.8 kB / 0.5233 GB, free: 112 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.347, allocations: 310.8 kB / 0.5236 GB, free: 112 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.348, allocations: 380.6 kB / 0.524 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/1.348, allocations: 11.09 kB / 0.524 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.348, allocations: 4.531 kB / 0.524 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.348, allocations: 5.812 kB / 0.524 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007383/1.356, allocations: 2.549 MB / 0.5265 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.356, allocations: 2.938 kB / 0.5265 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004182/1.36, allocations: 255 kB / 0.5267 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.743e-05/1.36, allocations: 5.25 kB / 0.5267 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006703/1.361, allocations: 113.4 kB / 0.5268 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/1.361, allocations: 6.281 kB / 0.5268 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.361, allocations: 5.141 kB / 0.5268 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006459/1.367, allocations: 2.65 MB / 0.5294 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.369, allocations: 438.8 kB / 0.5299 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/1.37, allocations: 110.6 kB / 0.53 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.372, allocations: 72.75 kB / 0.53 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/1.373, allocations: 66.41 kB / 0.5301 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.373, allocations: 36.3 kB / 0.5301 GB, free: 111 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007018/1.38, allocations: 2.475 MB / 0.5325 GB, free: 110.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.38, allocations: 0 / 0.5325 GB, free: 110.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003531/1.384, allocations: 0.5865 MB / 0.5331 GB, free: 110.7 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.007796/1.391, allocations: 3.455 MB / 0.5365 GB, free: 109.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005322/1.397, allocations: 1.939 MB / 0.5384 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.397, allocations: 3.562 kB / 0.5384 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/1.399, allocations: 0.7064 MB / 0.5391 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009843/1.409, allocations: 1.335 MB / 0.5404 GB, free: 109.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.431, allocations: 8.814 MB / 0.549 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/1.435, allocations: 2.818 MB / 0.5517 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004304/1.44, allocations: 0.7822 MB / 0.5525 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003878/1.444, allocations: 1.308 MB / 0.5538 GB, free: 106.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/1.444, allocations: 0 / 0.5538 GB, free: 106.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/1.623, allocations: 77 MB / 0.629 GB, free: 49.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.623, allocations: 157.6 kB / 0.6291 GB, free: 49.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.96/6.583, allocations: 4 kB / 0.6291 GB, free: 49.07 MB / 442.7 MB