Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadModel(PowerSystems): time 2.351/2.351, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.115e-05/5.129e-05, allocations: 7.938 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4836, allocations: 89.28 MB / 444.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.4839, allocations: 79.95 kB / 444.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03813/0.5221, allocations: 9.705 MB / 454.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.5221, allocations: 4 kB / 454.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.5221, allocations: 4 kB / 454.5 MB, free: 2.625 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007705/0.5229, allocations: 474.9 kB / 455 MB, free: 2.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.523, allocations: 8.031 kB / 455 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/0.5239, allocations: 83.72 kB / 455.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.5244, allocations: 258.9 kB / 455.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.5245, allocations: 16.33 kB / 455.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.5245, allocations: 19.91 kB / 455.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.5251, allocations: 252.2 kB / 455.6 MB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.5251, allocations: 7.953 kB / 455.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.5252, allocations: 7.938 kB / 455.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.5252, allocations: 16.31 kB / 455.6 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.5257, allocations: 204.5 kB / 455.8 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.5278, allocations: 1.22 MB / 457 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.5281, allocations: 113.3 kB / 457.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.5282, allocations: 41.78 kB / 457.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.5283, allocations: 3.938 kB / 457.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.5283, allocations: 38.56 kB / 457.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.652e-06/0.5283, allocations: 0 / 457.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003888/0.5287, allocations: 127.5 kB / 457.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.5288, allocations: 85.08 kB / 457.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.5291, allocations: 189.7 kB / 457.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.5291, allocations: 25.7 kB / 457.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.5293, allocations: 155.9 kB / 457.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.5293, allocations: 39.44 kB / 457.8 MB, free: 15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.5294, allocations: 4 kB / 457.8 MB, free: 15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5295, allocations: 330.8 kB / 458.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5297, allocations: 39.98 kB / 458.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.5298, allocations: 110.3 kB / 458.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.53, allocations: 63.91 kB / 458.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-06/0.53, allocations: 0 / 458.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004283/0.5305, allocations: 189.8 kB / 458.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5305, allocations: 8 kB / 458.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.315e-06/0.5305, allocations: 0 / 458.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5306, allocations: 4 kB / 458.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.5308, allocations: 51.92 kB / 458.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.5309, allocations: 7.984 kB / 458.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.5311, allocations: 24.03 kB / 458.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.5311, allocations: 16 kB / 458.7 MB, free: 14.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 23 * 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.0001157/0.5312, allocations: 116.9 kB / 458.8 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.5313, allocations: 15.81 kB / 458.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.5316, allocations: 135.3 kB / 458.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.167e-06/0.5317, allocations: 0 / 458.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5317, allocations: 3.938 kB / 458.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-06/0.5317, allocations: 0 / 458.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.5327, allocations: 0.5344 MB / 459.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5327, allocations: 4 kB / 459.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.5329, allocations: 27.98 kB / 459.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.533, allocations: 0 / 459.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.533, allocations: 4 kB / 459.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.533, allocations: 12.06 kB / 459.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.058e-06/0.533, allocations: 4 kB / 459.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.5336, allocations: 401.3 kB / 459.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5337, allocations: 96.84 kB / 460 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.5338, allocations: 8.062 kB / 460 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.5339, allocations: 12.02 kB / 460 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.534, allocations: 11.98 kB / 460 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.534, allocations: 8 kB / 460 MB, free: 12.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.5342, allocations: 140.6 kB / 460.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5342, allocations: 0 / 460.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004973/0.5347, allocations: 55.84 kB / 460.2 MB, free: 12.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (inertia.w,constantTorque.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001723/0.5349, allocations: 111.2 kB / 460.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.5353, allocations: 111.8 kB / 460.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.122e-06/0.5353, allocations: 0 / 460.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.5354, allocations: 51.86 kB / 460.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.5358, allocations: 31.86 kB / 460.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.5368, allocations: 412.4 kB / 460.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.5373, allocations: 0.7441 MB / 461.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.5375, allocations: 37.52 kB / 461.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.5376, allocations: 15.44 kB / 461.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5376, allocations: 0 / 461.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of Templates: time 0.005498/0.5431, allocations: 1.231 MB / 463 MB, free: 9.562 MB / 394.7 MB