Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadModel(PowerSystems): time 2.213/2.213, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.303e-05, allocations: 3.984 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 53.23 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.5153, allocations: 92.81 MB / 448.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5156, allocations: 86.14 kB / 448.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08865/0.6043, allocations: 23.85 MB / 472.2 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.6043, allocations: 0 / 472.2 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.389e-05/0.6044, allocations: 15.98 kB / 472.2 MB, free: 0.7812 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.00125/0.6056, allocations: 0.6552 MB / 472.8 MB, free: 84 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6057, allocations: 12.03 kB / 472.9 MB, free: 72 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.6081, allocations: 215.1 kB / 473.1 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.6089, allocations: 370.7 kB / 473.4 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.6089, allocations: 29 kB / 473.5 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.609, allocations: 47.94 kB / 473.5 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6104, allocations: 0.6011 MB / 474.1 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.6104, allocations: 7.906 kB / 474.1 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.6105, allocations: 16 kB / 474.1 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.6107, allocations: 44.97 kB / 474.2 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.612, allocations: 0.568 MB / 474.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.6165, allocations: 2.27 MB / 477 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.6175, allocations: 474.8 kB / 477.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.6179, allocations: 217.7 kB / 477.7 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.618, allocations: 12 kB / 477.7 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.618, allocations: 38.5 kB / 477.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.496e-06/0.6181, allocations: 0 / 477.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002944/0.621, allocations: 1.231 MB / 479 MB, free: 9.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.6211, allocations: 89.05 kB / 479.1 MB, free: 9.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.6215, allocations: 243.4 kB / 479.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.6216, allocations: 29.7 kB / 479.3 MB, free: 9.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.6218, allocations: 236.1 kB / 479.5 MB, free: 9.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.622, allocations: 149.8 kB / 479.7 MB, free: 8.895 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.622, allocations: 12 kB / 479.7 MB, free: 8.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6222, allocations: 346.8 kB / 480 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.6226, allocations: 169.1 kB / 480.2 MB, free: 8.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.6231, allocations: 273.3 kB / 480.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.6236, allocations: 215.7 kB / 480.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6236, allocations: 0 / 480.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001614/0.6253, allocations: 0.638 MB / 481.3 MB, free: 7.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6253, allocations: 8 kB / 481.3 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6253, allocations: 4.438 kB / 481.3 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.6261, allocations: 166.5 kB / 481.5 MB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.6266, allocations: 99.88 kB / 481.6 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.6311, allocations: 2.51 MB / 484.1 MB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.6315, allocations: 23.98 kB / 484.1 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.115e-05/0.6316, allocations: 23.98 kB / 484.2 MB, free: 4.238 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.0001734/0.6318, allocations: 128.9 kB / 484.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6319, allocations: 35.62 kB / 484.3 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.6335, allocations: 0.6097 MB / 484.9 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.882e-06/0.6335, allocations: 4 kB / 484.9 MB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-06/0.6335, allocations: 0 / 484.9 MB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6336, allocations: 8.078 kB / 484.9 MB, free: 3.438 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.003056/0.6366, allocations: 1.332 MB / 486.3 MB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.885e-06/0.6367, allocations: 0 / 486.3 MB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.6372, allocations: 79.89 kB / 486.3 MB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005936/0.6378, allocations: 136.7 kB / 486.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.6379, allocations: 15.95 kB / 486.5 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.6417, allocations: 2.307 MB / 488.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.087e-06/0.6417, allocations: 0 / 488.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.6437, allocations: 0.9496 MB / 489.8 MB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.6439, allocations: 116.6 kB / 489.9 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.644, allocations: 12 kB / 489.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.6443, allocations: 11.98 kB / 489.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.6444, allocations: 35.95 kB / 489.9 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.6445, allocations: 19.94 kB / 489.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.6448, allocations: 191.1 kB / 490.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.6448, allocations: 0 / 490.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008608/0.6457, allocations: 147.9 kB / 490.3 MB, free: 13.81 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.0002075/0.6459, allocations: 127.3 kB / 490.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.6474, allocations: 0.6297 MB / 491 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.613e-06/0.6475, allocations: 0 / 491 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.6484, allocations: 406 kB / 491.4 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.6488, allocations: 48.7 kB / 491.5 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.6509, allocations: 0.91 MB / 492.4 MB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.6516, allocations: 0.8793 MB / 493.3 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.6519, allocations: 67.23 kB / 493.3 MB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.6521, allocations: 35.44 kB / 493.4 MB, free: 10.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6521, allocations: 3.938 kB / 493.4 MB, free: 10.63 MB / 426.7 MB Notification: Performance of Templates: time 0.01438/0.6665, allocations: 5.059 MB / 498.4 MB, free: 5.574 MB / 426.7 MB