Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.39/2.39, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.686e-05, allocations: 3.984 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.5886, allocations: 98.65 MB / 454.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.589, allocations: 75.97 kB / 454.3 MB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.7066, allocations: 25.82 MB / 480.1 MB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7067, allocations: 0 / 480.1 MB, free: 8.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.902e-05/0.7068, allocations: 27.94 kB / 480.1 MB, free: 8.797 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003136/0.7099, allocations: 1.084 MB / 481.2 MB, free: 7.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.71, allocations: 8.031 kB / 481.2 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003128/0.7103, allocations: 143.5 kB / 481.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.7121, allocations: 182.6 kB / 481.5 MB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/0.7176, allocations: 1.37 MB / 482.9 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.7178, allocations: 61.94 kB / 482.9 MB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.718, allocations: 91.91 kB / 483 MB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.721, allocations: 1.164 MB / 484.2 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.7211, allocations: 3.953 kB / 484.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.7212, allocations: 47.98 kB / 484.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.7214, allocations: 45.98 kB / 484.3 MB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.7243, allocations: 0.9369 MB / 485.2 MB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.7354, allocations: 4.684 MB / 489.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.7374, allocations: 0.6466 MB / 490.6 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.7386, allocations: 471.9 kB / 491 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.226e-05/0.7387, allocations: 26.62 kB / 491 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002003/0.7407, allocations: 0.5163 MB / 491.6 MB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 7.023e-06/0.7408, allocations: 0 / 491.6 MB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.01141/0.7522, allocations: 2.531 MB / 494.1 MB, free: 10.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.7524, allocations: 170.9 kB / 494.3 MB, free: 10.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.7535, allocations: 0.5032 MB / 494.8 MB, free: 9.594 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.7537, allocations: 41.7 kB / 494.8 MB, free: 9.547 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.7543, allocations: 471.1 kB / 495.3 MB, free: 9.078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.7547, allocations: 264.3 kB / 495.5 MB, free: 8.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.7548, allocations: 16 kB / 495.5 MB, free: 8.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.7551, allocations: 390.8 kB / 495.9 MB, free: 8.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.7562, allocations: 389.8 kB / 496.3 MB, free: 8.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.7576, allocations: 0.6084 MB / 496.9 MB, free: 7.312 MB / 426.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.02072/0.7783, allocations: 3.88 MB / 0.4891 GB, free: 3.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.7784, allocations: 4 kB / 0.4891 GB, free: 3.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00409/0.7825, allocations: 1.334 MB / 0.4904 GB, free: 2.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.7826, allocations: 37.69 kB / 0.4904 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.7826, allocations: 8.562 kB / 0.4904 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.7837, allocations: 243.1 kB / 0.4906 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.7863, allocations: 275.6 kB / 0.4909 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.7946, allocations: 5.556 MB / 0.4963 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.7958, allocations: 43.97 kB / 0.4964 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.796, allocations: 40 kB / 0.4964 GB, free: 11.4 MB / 442.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.7964, allocations: 202.4 kB / 0.4966 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.7966, allocations: 79.12 kB / 0.4967 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.8001, allocations: 1.176 MB / 0.4978 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/0.8002, allocations: 12 kB / 0.4978 GB, free: 9.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.8002, allocations: 4.125 kB / 0.4978 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.8002, allocations: 7.984 kB / 0.4978 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.8067, allocations: 2.296 MB / 0.5001 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8068, allocations: 0 / 0.5001 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.8088, allocations: 205.1 kB / 0.5003 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.8102, allocations: 250.4 kB / 0.5005 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.8104, allocations: 23.98 kB / 0.5005 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00795/0.8184, allocations: 5.492 MB / 0.5059 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8184, allocations: 3.938 kB / 0.5059 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.823, allocations: 1.758 MB / 0.5076 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.8234, allocations: 148.2 kB / 0.5078 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.8236, allocations: 23.98 kB / 0.5078 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.8244, allocations: 31.97 kB / 0.5078 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.8247, allocations: 60.44 kB / 0.5079 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.8248, allocations: 27.98 kB / 0.5079 GB, free: 14.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007858/0.8256, allocations: 403.1 kB / 0.5083 GB, free: 14.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8256, allocations: 0 / 0.5083 GB, free: 14.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001785/0.8274, allocations: 307.8 kB / 0.5086 GB, free: 14.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005369/0.8328, allocations: 2.812 MB / 0.5113 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.8364, allocations: 1.365 MB / 0.5127 GB, free: 9.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8365, allocations: 0.875 kB / 0.5127 GB, free: 9.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.8388, allocations: 0.9049 MB / 0.5136 GB, free: 9.031 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.8403, allocations: 166 kB / 0.5137 GB, free: 8.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006605/0.8469, allocations: 2.055 MB / 0.5157 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.8481, allocations: 1.138 MB / 0.5168 GB, free: 5.594 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.8493, allocations: 218.2 kB / 0.517 GB, free: 5.375 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/0.8501, allocations: 343.2 kB / 0.5174 GB, free: 5.039 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8501, allocations: 0 / 0.5174 GB, free: 5.039 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3542/1.204, allocations: 19.1 MB / 0.536 GB, free: 129.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/1.205, allocations: 177.1 kB / 0.5362 GB, free: 129.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.576, allocations: 5.125 kB / 0.5362 GB, free: 129.7 MB / 458.7 MB