Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadModel(PowerSystems): time 2.362/2.362, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.428e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 53.23 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4765, allocations: 92.8 MB / 448.2 MB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4768, allocations: 87.94 kB / 448.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08986/0.5667, allocations: 23.85 MB / 472.2 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.537e-06/0.5668, allocations: 0 / 472.2 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.5668, allocations: 12 kB / 472.2 MB, free: 0.7773 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001373/0.5682, allocations: 0.6696 MB / 472.9 MB, free: 68 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5683, allocations: 12.03 kB / 472.9 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.5708, allocations: 215.1 kB / 473.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.5717, allocations: 370.7 kB / 473.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.5718, allocations: 32.98 kB / 473.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5719, allocations: 43.95 kB / 473.5 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.5733, allocations: 0.5895 MB / 474.1 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.5733, allocations: 11.84 kB / 474.1 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.5734, allocations: 23.98 kB / 474.1 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.5736, allocations: 44.95 kB / 474.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.575, allocations: 0.5641 MB / 474.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.5799, allocations: 2.27 MB / 477 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.581, allocations: 468.5 kB / 477.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.5815, allocations: 229.7 kB / 477.7 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.5815, allocations: 11.98 kB / 477.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.5816, allocations: 34.56 kB / 477.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.719e-06/0.5816, allocations: 0 / 477.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.003048/0.5846, allocations: 1.235 MB / 479 MB, free: 9.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.5847, allocations: 89.11 kB / 479.1 MB, free: 9.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.5851, allocations: 239.4 kB / 479.3 MB, free: 9.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.5852, allocations: 33.7 kB / 479.3 MB, free: 9.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.5854, allocations: 232 kB / 479.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5856, allocations: 157.7 kB / 479.7 MB, free: 8.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5857, allocations: 8 kB / 479.7 MB, free: 8.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.5859, allocations: 342.8 kB / 480.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.5863, allocations: 177 kB / 480.2 MB, free: 8.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.5868, allocations: 269.2 kB / 480.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.5873, allocations: 219.8 kB / 480.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-06/0.5873, allocations: 0 / 480.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001696/0.589, allocations: 0.6343 MB / 481.3 MB, free: 7.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.5891, allocations: 8 kB / 481.3 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.5891, allocations: 7.984 kB / 481.4 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/0.5899, allocations: 153 kB / 481.5 MB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.5905, allocations: 103.8 kB / 481.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004595/0.5951, allocations: 2.508 MB / 484.1 MB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.5956, allocations: 27.97 kB / 484.1 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.5956, allocations: 16 kB / 484.2 MB, free: 4.23 MB / 410.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 (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.5958, allocations: 132.8 kB / 484.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5959, allocations: 39.61 kB / 484.3 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.5976, allocations: 0.6097 MB / 484.9 MB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5977, allocations: 4 kB / 484.9 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-06/0.5977, allocations: 0 / 484.9 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.761e-06/0.5977, allocations: 0 / 484.9 MB, free: 3.43 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.601, allocations: 1.332 MB / 486.3 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.5e-06/0.601, allocations: 0 / 486.3 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.6016, allocations: 87.95 kB / 486.4 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000626/0.6022, allocations: 124.8 kB / 486.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.6023, allocations: 19.94 kB / 486.5 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.6064, allocations: 2.303 MB / 488.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.418e-06/0.6064, allocations: 0 / 488.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.6086, allocations: 0.9575 MB / 489.8 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.6088, allocations: 112.6 kB / 489.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.6089, allocations: 24.08 kB / 489.9 MB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.6092, allocations: 11.94 kB / 489.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.6093, allocations: 31.95 kB / 489.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.6094, allocations: 19.98 kB / 490 MB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000298/0.6097, allocations: 191.1 kB / 490.1 MB, free: 13.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.6097, allocations: 0 / 490.1 MB, free: 13.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000912/0.6106, allocations: 147.9 kB / 490.3 MB, free: 13.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.6109, allocations: 119.3 kB / 490.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.6125, allocations: 0.6336 MB / 491 MB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6125, allocations: 0 / 491 MB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.6135, allocations: 401.5 kB / 491.4 MB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.614, allocations: 53.27 kB / 491.5 MB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.6162, allocations: 0.9022 MB / 492.4 MB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.617, allocations: 0.8793 MB / 493.3 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.6173, allocations: 75.16 kB / 493.3 MB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.6175, allocations: 39.42 kB / 493.4 MB, free: 10.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.697e-06/0.6175, allocations: 0 / 493.4 MB, free: 10.62 MB / 426.7 MB Notification: Performance of Templates: time 0.01472/0.6322, allocations: 5.051 MB / 498.4 MB, free: 5.57 MB / 426.7 MB