Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.483/2.483, allocations: 233 MB / 246.1 MB, free: 15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.479e-05/5.484e-05, allocations: 4 kB / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 53.23 MB / 355.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.6429, allocations: 98.66 MB / 454.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.6433, allocations: 79.95 kB / 454.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.7636, allocations: 25.82 MB / 480.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7637, allocations: 0 / 480.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.893e-05/0.7638, allocations: 27.94 kB / 480.1 MB, free: 8.852 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.003957/0.7677, allocations: 1.077 MB / 481.2 MB, free: 7.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.7678, allocations: 12.03 kB / 481.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004385/0.7683, allocations: 143.5 kB / 481.3 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.7703, allocations: 182.6 kB / 481.5 MB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005901/0.7762, allocations: 1.358 MB / 482.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.7764, allocations: 61.98 kB / 482.9 MB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.7767, allocations: 93.88 kB / 483 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.7803, allocations: 1.168 MB / 484.2 MB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/0.7804, allocations: 3.938 kB / 484.2 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.7806, allocations: 43.94 kB / 484.2 MB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.7808, allocations: 49.98 kB / 484.3 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.7839, allocations: 0.9291 MB / 485.2 MB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.7957, allocations: 4.692 MB / 489.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.7977, allocations: 0.6595 MB / 490.6 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.7989, allocations: 470.7 kB / 491 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-05/0.799, allocations: 12.55 kB / 491 MB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.8003, allocations: 0.5202 MB / 491.6 MB, free: 12.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 5.06e-06/0.8003, allocations: 0 / 491.6 MB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.007768/0.8081, allocations: 2.531 MB / 494.1 MB, free: 10.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.8083, allocations: 171 kB / 494.3 MB, free: 10.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.8094, allocations: 0.5033 MB / 494.8 MB, free: 9.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.8095, allocations: 39.02 kB / 494.8 MB, free: 9.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/0.8101, allocations: 475.1 kB / 495.3 MB, free: 9.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.8105, allocations: 264.3 kB / 495.5 MB, free: 8.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.8106, allocations: 20 kB / 495.5 MB, free: 8.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.8109, allocations: 390.7 kB / 495.9 MB, free: 8.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8119, allocations: 385.8 kB / 496.3 MB, free: 8.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.8133, allocations: 0.6162 MB / 496.9 MB, free: 7.367 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.0205/0.8338, allocations: 3.88 MB / 0.4891 GB, free: 3.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.8338, allocations: 4 kB / 0.4891 GB, free: 3.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004105/0.8379, allocations: 1.32 MB / 0.4904 GB, free: 2.082 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.8381, allocations: 37.66 kB / 0.4904 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.8381, allocations: 8 kB / 0.4904 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.8392, allocations: 250.5 kB / 0.4906 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.8418, allocations: 267.6 kB / 0.4909 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008749/0.8505, allocations: 5.563 MB / 0.4963 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8518, allocations: 43.97 kB / 0.4964 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.8519, allocations: 39.98 kB / 0.4964 GB, free: 11.46 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.0004105/0.8523, allocations: 206.5 kB / 0.4966 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.8525, allocations: 75.06 kB / 0.4967 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.8561, allocations: 1.172 MB / 0.4978 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/0.8562, allocations: 15.95 kB / 0.4978 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8563, allocations: 4 kB / 0.4978 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.8563, allocations: 3.984 kB / 0.4978 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006798/0.8631, allocations: 2.304 MB / 0.5001 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.8632, allocations: 0 / 0.5001 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/0.8653, allocations: 203.9 kB / 0.5003 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.8667, allocations: 250.3 kB / 0.5005 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.8669, allocations: 31.91 kB / 0.5006 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008569/0.8755, allocations: 5.492 MB / 0.5059 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8756, allocations: 0 / 0.5059 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004874/0.8805, allocations: 1.754 MB / 0.5076 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.881, allocations: 144.2 kB / 0.5078 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.8812, allocations: 28.05 kB / 0.5078 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.882, allocations: 31.97 kB / 0.5078 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.8823, allocations: 64.42 kB / 0.5079 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.597e-05/0.8824, allocations: 27.98 kB / 0.5079 GB, free: 15.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008233/0.8832, allocations: 395.2 kB / 0.5083 GB, free: 14.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8832, allocations: 3.938 kB / 0.5083 GB, free: 14.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001978/0.8852, allocations: 307.9 kB / 0.5086 GB, free: 14.34 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.005848/0.8911, allocations: 2.816 MB / 0.5113 GB, free: 11.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.895, allocations: 1.373 MB / 0.5127 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.8951, allocations: 0 / 0.5127 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.8976, allocations: 0.9018 MB / 0.5136 GB, free: 9.082 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8992, allocations: 155.2 kB / 0.5137 GB, free: 8.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.9059, allocations: 2.074 MB / 0.5157 GB, free: 6.797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.9071, allocations: 1.127 MB / 0.5168 GB, free: 5.645 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001164/0.9083, allocations: 214.3 kB / 0.517 GB, free: 5.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008261/0.9092, allocations: 335.3 kB / 0.5174 GB, free: 5.102 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/0.9092, allocations: 8 kB / 0.5174 GB, free: 5.094 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/1.312, allocations: 19.1 MB / 0.536 GB, free: 129.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/1.313, allocations: 180.8 kB / 0.5362 GB, free: 129.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/4.474, allocations: 0 / 0.5362 GB, free: 129.2 MB / 458.7 MB