Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest2,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.19/2.19, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.354e-05, allocations: 3.938 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 53.25 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5323, allocations: 92.8 MB / 448.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5327, allocations: 87.94 kB / 448.4 MB, free: 8.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0913/0.624, allocations: 23.85 MB / 472.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.624, allocations: 0 / 472.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.303e-05/0.6241, allocations: 12 kB / 472.3 MB, free: 0.6016 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.001399/0.6255, allocations: 0.6669 MB / 472.9 MB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6255, allocations: 12.03 kB / 473 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.6257, allocations: 90.47 kB / 473 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.6283, allocations: 211.1 kB / 473.3 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.6291, allocations: 366.7 kB / 473.6 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.6291, allocations: 36.94 kB / 473.7 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6293, allocations: 40 kB / 473.7 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.6307, allocations: 0.5895 MB / 474.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.6307, allocations: 19.83 kB / 474.3 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.6308, allocations: 15.98 kB / 474.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000215/0.631, allocations: 44.97 kB / 474.4 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.6325, allocations: 0.568 MB / 474.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.6375, allocations: 2.27 MB / 477.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.6385, allocations: 470.8 kB / 477.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.639, allocations: 221.7 kB / 477.9 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.6391, allocations: 11.98 kB / 477.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6392, allocations: 38.56 kB / 477.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.905e-06/0.6392, allocations: 0 / 477.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.003252/0.6424, allocations: 1.227 MB / 479.1 MB, free: 9.387 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.6425, allocations: 85.11 kB / 479.2 MB, free: 9.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.6429, allocations: 243.4 kB / 479.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.643, allocations: 37.73 kB / 479.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.6432, allocations: 232 kB / 479.7 MB, free: 8.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.6433, allocations: 149.8 kB / 479.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.6434, allocations: 12 kB / 479.9 MB, free: 8.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6436, allocations: 342.8 kB / 480.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.644, allocations: 177 kB / 480.4 MB, free: 8.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.6446, allocations: 273.2 kB / 480.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.6452, allocations: 215.8 kB / 480.9 MB, free: 7.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6452, allocations: 0 / 480.9 MB, free: 7.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001856/0.647, allocations: 0.638 MB / 481.5 MB, free: 6.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.6471, allocations: 8.438 kB / 481.5 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6471, allocations: 8 kB / 481.5 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009043/0.648, allocations: 162.7 kB / 481.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.6488, allocations: 99.81 kB / 481.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.6537, allocations: 2.503 MB / 484.3 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.6543, allocations: 19.98 kB / 484.3 MB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.6543, allocations: 23.98 kB / 484.3 MB, free: 3.965 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.0001678/0.6545, allocations: 136.8 kB / 484.5 MB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/0.6546, allocations: 35.62 kB / 484.5 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.6564, allocations: 0.6058 MB / 485.1 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.6565, allocations: 8 kB / 485.1 MB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.6565, allocations: 0 / 485.1 MB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6565, allocations: 4.078 kB / 485.1 MB, free: 3.16 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.003392/0.6599, allocations: 1.332 MB / 486.5 MB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6599, allocations: 0 / 486.5 MB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/0.6607, allocations: 83.89 kB / 486.5 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007487/0.6614, allocations: 132.8 kB / 486.7 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.6615, allocations: 15.95 kB / 486.7 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.6657, allocations: 2.303 MB / 489 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6657, allocations: 48 / 489 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.668, allocations: 0.9535 MB / 489.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.6681, allocations: 120.6 kB / 490.1 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.6682, allocations: 8.109 kB / 490.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.6686, allocations: 19.92 kB / 490.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.6687, allocations: 35.95 kB / 490.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.6688, allocations: 16 kB / 490.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00029/0.6691, allocations: 191.1 kB / 490.3 MB, free: 13.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6691, allocations: 0 / 490.3 MB, free: 13.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008874/0.67, allocations: 151.9 kB / 490.5 MB, free: 13.52 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.002722/0.6727, allocations: 1.713 MB / 492.2 MB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.6746, allocations: 0.6262 MB / 492.8 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6747, allocations: 4.062 kB / 492.8 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.6758, allocations: 410.6 kB / 493.2 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.6763, allocations: 44.75 kB / 493.3 MB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.6791, allocations: 1.031 MB / 494.3 MB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.6798, allocations: 0.8793 MB / 495.2 MB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.6802, allocations: 71.23 kB / 495.2 MB, free: 8.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.6805, allocations: 139.4 kB / 495.4 MB, free: 8.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6805, allocations: 0 / 495.4 MB, free: 8.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.7196, allocations: 8.819 MB / 0.4924 GB, free: 15.74 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.7199, allocations: 179.3 kB / 0.4925 GB, free: 15.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/3.602, allocations: 4 kB / 0.4925 GB, free: 15.51 MB / 442.7 MB