Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadModel(PowerSystems): time 2.256/2.256, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.287e-05, allocations: 3.938 kB / 301.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09113, allocations: 53.24 MB / 354.5 MB, free: 2.602 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.4939, allocations: 88.8 MB / 443.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.4942, allocations: 83.95 kB / 443.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0279/0.5221, allocations: 6.446 MB / 449.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.119e-06/0.5222, allocations: 0 / 449.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.5222, allocations: 7.938 kB / 449.8 MB, free: 6.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009704/0.5232, allocations: 0.5309 MB / 450.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5232, allocations: 8.031 kB / 450.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.5233, allocations: 31.62 kB / 450.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.5255, allocations: 0.6545 MB / 451.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.5255, allocations: 16.44 kB / 451.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.5257, allocations: 32.3 kB / 451.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.5263, allocations: 285.2 kB / 451.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5264, allocations: 0 / 451.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.5264, allocations: 15.98 kB / 451.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.5264, allocations: 8 kB / 451.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.5269, allocations: 183.6 kB / 451.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.529, allocations: 1.285 MB / 452.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.5293, allocations: 111.9 kB / 453 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.5295, allocations: 50.58 kB / 453 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5295, allocations: 5.781 kB / 453 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5296, allocations: 38.56 kB / 453.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.289e-06/0.5296, allocations: 0 / 453.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001132/0.5307, allocations: 0.4959 MB / 453.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.5308, allocations: 106.9 kB / 453.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.5311, allocations: 219 kB / 453.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5312, allocations: 29.64 kB / 453.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5313, allocations: 246.3 kB / 454.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.5314, allocations: 43.45 kB / 454.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.5314, allocations: 4 kB / 454.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5316, allocations: 322.8 kB / 454.5 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.5317, allocations: 36 kB / 454.6 MB, free: 1.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.5319, allocations: 130.1 kB / 454.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.5321, allocations: 51.98 kB / 454.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.475e-06/0.5321, allocations: 8 kB / 454.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005402/0.5326, allocations: 202.1 kB / 454.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5327, allocations: 8 kB / 454.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5327, allocations: 4.406 kB / 455 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.5329, allocations: 32.78 kB / 455 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.5333, allocations: 71.88 kB / 455.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.5334, allocations: 7.938 kB / 455.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.5336, allocations: 8 kB / 455.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.5336, allocations: 8 kB / 455.1 MB, free: 1.004 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.5337, allocations: 120.8 kB / 455.2 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.5338, allocations: 31.7 kB / 455.2 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.5342, allocations: 151.4 kB / 455.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-06/0.5343, allocations: 0 / 455.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-06/0.5343, allocations: 0 / 455.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5343, allocations: 7.984 kB / 455.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.5348, allocations: 281.5 kB / 455.7 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5349, allocations: 7.953 kB / 455.7 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.5351, allocations: 27.92 kB / 455.7 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-06/0.5351, allocations: 4 kB / 455.7 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.5352, allocations: 11.98 kB / 455.7 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.963e-06/0.5352, allocations: 4 kB / 455.7 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-06/0.5352, allocations: 0.6562 kB / 455.7 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.5358, allocations: 382.7 kB / 456.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.5359, allocations: 108.9 kB / 456.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.536, allocations: 0 / 456.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.5362, allocations: 0 / 456.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.5362, allocations: 19.92 kB / 456.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.5363, allocations: 4 kB / 456.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.5365, allocations: 164.8 kB / 456.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5365, allocations: 0 / 456.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000523/0.537, allocations: 51.94 kB / 456.4 MB, free: 15.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001619/0.5372, allocations: 115.2 kB / 456.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.5376, allocations: 201.8 kB / 456.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.274e-06/0.5377, allocations: 0 / 456.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.5378, allocations: 51.92 kB / 456.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.5383, allocations: 56.2 kB / 456.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.5394, allocations: 470.6 kB / 457.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.5399, allocations: 0.7835 MB / 458.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.54, allocations: 23.44 kB / 458.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.41e-06/0.54, allocations: 0 / 458.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of Templates: time 0.007004/0.547, allocations: 3.417 MB / 461.5 MB, free: 10.36 MB / 394.7 MB