Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadModel(PowerSystems): time 2.358/2.358, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.55e-05, allocations: 11.98 kB / 301.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09043, allocations: 53.23 MB / 354.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.4707, allocations: 95.23 MB / 449.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.471, allocations: 75.97 kB / 449.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0508/0.5218, allocations: 12.16 MB / 462 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.423e-06/0.5218, allocations: 4 kB / 462 MB, free: 10.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.592e-05/0.5219, allocations: 8 kB / 462 MB, free: 10.45 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001264/0.5232, allocations: 0.6408 MB / 462.6 MB, free: 9.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5232, allocations: 12.03 kB / 462.6 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006785/0.5239, allocations: 83.38 kB / 462.7 MB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.5269, allocations: 0.8333 MB / 463.5 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.527, allocations: 32.98 kB / 463.6 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5271, allocations: 36 kB / 463.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5284, allocations: 0.5997 MB / 464.2 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.5284, allocations: 3.906 kB / 464.2 MB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.5285, allocations: 19.98 kB / 464.2 MB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/0.5286, allocations: 28.78 kB / 464.3 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.5295, allocations: 433.1 kB / 464.7 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.534, allocations: 2.861 MB / 467.5 MB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.5345, allocations: 221.2 kB / 467.8 MB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.5348, allocations: 150 kB / 467.9 MB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.5349, allocations: 0 / 467.9 MB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.5349, allocations: 38.56 kB / 467.9 MB, free: 4.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.376e-06/0.535, allocations: 3.938 kB / 467.9 MB, free: 4.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.001964/0.5369, allocations: 0.8512 MB / 468.8 MB, free: 3.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.537, allocations: 85.05 kB / 468.9 MB, free: 3.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.5375, allocations: 294.5 kB / 469.2 MB, free: 2.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.5375, allocations: 30.73 kB / 469.2 MB, free: 2.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.5378, allocations: 329.8 kB / 469.5 MB, free: 2.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.5379, allocations: 110.5 kB / 469.6 MB, free: 2.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.538, allocations: 7.984 kB / 469.6 MB, free: 2.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5382, allocations: 334.8 kB / 470 MB, free: 2.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.5385, allocations: 137.1 kB / 470.1 MB, free: 1.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.539, allocations: 338.6 kB / 470.4 MB, free: 1.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.5394, allocations: 211.8 kB / 470.6 MB, free: 1.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.815e-06/0.5395, allocations: 4 kB / 470.6 MB, free: 1.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001109/0.5406, allocations: 0.4936 MB / 471.1 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5406, allocations: 12.16 kB / 471.1 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5406, allocations: 5.312 kB / 471.1 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.5407, allocations: 12 kB / 471.2 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.5413, allocations: 115.8 kB / 471.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.5413, allocations: 15.94 kB / 471.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.5417, allocations: 23.98 kB / 471.3 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.5418, allocations: 20 kB / 471.3 MB, free: 0.5625 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0001508/0.5419, allocations: 132.8 kB / 471.5 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.542, allocations: 39.52 kB / 471.5 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/0.5429, allocations: 341.6 kB / 471.8 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.5429, allocations: 8 kB / 471.8 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.5e-06/0.5429, allocations: 3.953 kB / 471.8 MB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.484e-06/0.543, allocations: 0 / 471.8 MB, free: 36 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.5449, allocations: 0.8756 MB / 472.7 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.936e-06/0.545, allocations: 0 / 472.7 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.5454, allocations: 72.5 kB / 472.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5455, allocations: 4 kB / 472.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.5455, allocations: 8 kB / 472.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.963e-06/0.5455, allocations: 0 / 472.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.063e-06/0.5456, allocations: 4 kB / 472.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.5467, allocations: 0.6224 MB / 473.4 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.5468, allocations: 112.6 kB / 473.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.5469, allocations: 9.406 kB / 473.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.5472, allocations: 19.98 kB / 473.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.5473, allocations: 23.86 kB / 473.6 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.5473, allocations: 19.94 kB / 473.6 MB, free: 14.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003352/0.5477, allocations: 214.2 kB / 473.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.53e-07/0.5477, allocations: 0 / 473.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000705/0.5484, allocations: 104 kB / 473.9 MB, free: 13.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 1 * 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.0002293/0.5487, allocations: 127.1 kB / 474 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.5495, allocations: 343.7 kB / 474.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5495, allocations: 0 / 474.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.5498, allocations: 149.6 kB / 474.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.5503, allocations: 63.86 kB / 474.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.5523, allocations: 0.8375 MB / 475.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.553, allocations: 0.8631 MB / 476.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.5532, allocations: 39.42 kB / 476.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.98e-06/0.5532, allocations: 0 / 476.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01014/0.5633, allocations: 4.826 MB / 481.1 MB, free: 6.512 MB / 410.7 MB