Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadModel(PowerSystems): time 2.187/2.187, allocations: 233 MB / 245.6 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.314e-05, allocations: 8 kB / 301.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.08982, allocations: 53.23 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.5012, allocations: 91.24 MB / 445.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5015, allocations: 83.95 kB / 445.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03375/0.5352, allocations: 7.658 MB / 453.5 MB, free: 3.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.5353, allocations: 4 kB / 453.5 MB, free: 3.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.5353, allocations: 4 kB / 453.5 MB, free: 3.004 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001123/0.5365, allocations: 0.5862 MB / 454.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5365, allocations: 11.97 kB / 454.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.5366, allocations: 39.53 kB / 454.1 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.539, allocations: 0.7167 MB / 454.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.5391, allocations: 21.08 kB / 454.9 MB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.5391, allocations: 24 kB / 454.9 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.5399, allocations: 355.9 kB / 455.2 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5399, allocations: 0 / 455.2 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.5399, allocations: 12 kB / 455.2 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.54, allocations: 8 kB / 455.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.5405, allocations: 244.9 kB / 455.5 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.5429, allocations: 1.447 MB / 456.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.5432, allocations: 153.1 kB / 457.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.5434, allocations: 75 kB / 457.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.5435, allocations: 7.938 kB / 457.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.5435, allocations: 42.56 kB / 457.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.039e-06/0.5435, allocations: 0 / 457.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001355/0.5449, allocations: 0.6064 MB / 457.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.545, allocations: 85.05 kB / 457.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.5454, allocations: 260.9 kB / 458.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5454, allocations: 29.7 kB / 458.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.5456, allocations: 270.1 kB / 458.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.5457, allocations: 59.19 kB / 458.5 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.5457, allocations: 4 kB / 458.5 MB, free: 13.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5459, allocations: 322.8 kB / 458.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5461, allocations: 63.97 kB / 458.9 MB, free: 13.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5463, allocations: 164.8 kB / 459 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.5466, allocations: 83.94 kB / 459.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.612e-06/0.5466, allocations: 0 / 459.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005682/0.5472, allocations: 265.8 kB / 459.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5472, allocations: 4 kB / 459.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5473, allocations: 4 kB / 459.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5473, allocations: 7.938 kB / 459.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.5477, allocations: 55.91 kB / 459.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.5477, allocations: 8.422 kB / 459.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.548, allocations: 19.91 kB / 459.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.548, allocations: 19.98 kB / 459.5 MB, free: 12.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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 prepare postOptimizeDAE: time 0.0001154/0.5481, allocations: 116.9 kB / 459.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.5482, allocations: 31.67 kB / 459.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.5488, allocations: 234.3 kB / 459.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-06/0.5488, allocations: 0 / 459.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.257e-06/0.5488, allocations: 3.984 kB / 459.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5488, allocations: 5.312 kB / 459.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.5499, allocations: 0.6124 MB / 460.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.629e-06/0.55, allocations: 4 kB / 460.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.5503, allocations: 39.92 kB / 460.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.856e-06/0.5503, allocations: 0 / 460.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5503, allocations: 7.984 kB / 460.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5503, allocations: 0 / 460.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.34e-06/0.5503, allocations: 0 / 460.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.5511, allocations: 448.5 kB / 461 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5512, allocations: 104.8 kB / 461.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.5513, allocations: 8 kB / 461.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5516, allocations: 8 kB / 461.1 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.5516, allocations: 23.97 kB / 461.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.5516, allocations: 4 kB / 461.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002877/0.5519, allocations: 206.9 kB / 461.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.552, allocations: 0 / 461.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005083/0.5525, allocations: 72.23 kB / 461.4 MB, free: 10.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0001591/0.5527, allocations: 107.1 kB / 461.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.5531, allocations: 180.5 kB / 461.7 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.352e-06/0.5531, allocations: 8.125 kB / 461.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.5533, allocations: 86.09 kB / 461.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.5538, allocations: 60.72 kB / 461.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.555, allocations: 0.4995 MB / 462.3 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.5555, allocations: 0.8145 MB / 463.1 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.5557, allocations: 23.44 kB / 463.2 MB, free: 8.738 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5557, allocations: 0 / 463.2 MB, free: 8.738 MB / 394.7 MB Notification: Performance of Templates: time 0.00776/0.5634, allocations: 3.74 MB / 466.9 MB, free: 5 MB / 394.7 MB