Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.391/2.391, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.879e-05, allocations: 4 kB / 301.3 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 53.25 MB / 354.6 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.6011, allocations: 93.53 MB / 448.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.6015, allocations: 87.95 kB / 448.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04681/0.6484, allocations: 10.02 MB / 458.2 MB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6484, allocations: 0 / 458.2 MB, free: 14.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.096e-05/0.6485, allocations: 8 kB / 458.2 MB, free: 14.14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001821/0.6503, allocations: 0.7184 MB / 459 MB, free: 13.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6504, allocations: 8.031 kB / 459 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.6506, allocations: 78.53 kB / 459.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.6507, allocations: 55.42 kB / 459.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.6545, allocations: 0.8709 MB / 460 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.6546, allocations: 29.47 kB / 460 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6547, allocations: 39.98 kB / 460 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.656, allocations: 462.4 kB / 460.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.656, allocations: 4 kB / 460.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.6561, allocations: 15.98 kB / 460.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.6561, allocations: 8 kB / 460.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.6571, allocations: 341.4 kB / 460.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.661, allocations: 1.72 MB / 462.6 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.6619, allocations: 301.5 kB / 462.9 MB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/0.6627, allocations: 217.9 kB / 463.1 MB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.6628, allocations: 4.234 kB / 463.1 MB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006738/0.6635, allocations: 285.1 kB / 463.4 MB, free: 8.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.126e-06/0.6635, allocations: 0 / 463.4 MB, free: 8.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002861/0.6664, allocations: 1.051 MB / 464.4 MB, free: 7.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.6665, allocations: 144.4 kB / 464.6 MB, free: 7.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.6672, allocations: 323.6 kB / 464.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.6672, allocations: 33.7 kB / 464.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.6675, allocations: 302.4 kB / 465.2 MB, free: 6.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.6677, allocations: 110.5 kB / 465.3 MB, free: 6.691 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.6677, allocations: 8 kB / 465.3 MB, free: 6.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6679, allocations: 326.8 kB / 465.6 MB, free: 6.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.6683, allocations: 129.1 kB / 465.8 MB, free: 6.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.6688, allocations: 251 kB / 466 MB, free: 5.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.6692, allocations: 189.1 kB / 466.2 MB, free: 5.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6693, allocations: 0 / 466.2 MB, free: 5.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001382/0.6707, allocations: 0.4886 MB / 466.7 MB, free: 5.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.6707, allocations: 37.73 kB / 466.7 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.6708, allocations: 7.938 kB / 466.7 MB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.6712, allocations: 78.83 kB / 466.8 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.6718, allocations: 67.91 kB / 466.9 MB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.675, allocations: 2.763 MB / 469.6 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.6756, allocations: 27.94 kB / 469.7 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.6757, allocations: 20 kB / 469.7 MB, free: 1.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.676, allocations: 162.7 kB / 469.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.6761, allocations: 39.53 kB / 469.9 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.6774, allocations: 476.8 kB / 470.3 MB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6774, allocations: 4 kB / 470.3 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6774, allocations: 0 / 470.3 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6775, allocations: 0 / 470.3 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.6799, allocations: 1.033 MB / 471.4 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.68, allocations: 0 / 471.4 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.6803, allocations: 45.42 kB / 471.4 MB, free: 116 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003901/0.6807, allocations: 81.66 kB / 471.5 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.6808, allocations: 16 kB / 471.5 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.6839, allocations: 2.752 MB / 474.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.684, allocations: 0 / 474.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6859, allocations: 0.7609 MB / 475 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.6861, allocations: 112.6 kB / 475.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6862, allocations: 19.98 kB / 475.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.6867, allocations: 24.05 kB / 475.2 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6868, allocations: 27.95 kB / 475.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.6869, allocations: 12 kB / 475.2 MB, free: 11.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004731/0.6874, allocations: 254.1 kB / 475.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6874, allocations: 0 / 475.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007685/0.6882, allocations: 120 kB / 475.6 MB, free: 11.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002316/0.6905, allocations: 1.467 MB / 477.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.6921, allocations: 0.6125 MB / 477.7 MB, free: 9.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.6921, allocations: 1.469 kB / 477.7 MB, free: 9.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6932, allocations: 474.7 kB / 478.1 MB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/0.6941, allocations: 76.11 kB / 478.2 MB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.6971, allocations: 0.8855 MB / 479.1 MB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.6978, allocations: 0.886 MB / 480 MB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.6982, allocations: 155.4 kB / 480.1 MB, free: 6.875 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6982, allocations: 0 / 480.1 MB, free: 6.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.968/3.667, allocations: 11.01 MB / 491.1 MB, free: 11.87 MB / 426.7 MB