Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.463/2.463, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.879e-05, allocations: 6.031 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.6549, allocations: 89.28 MB / 444.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.6553, allocations: 79.95 kB / 444.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04106/0.6963, allocations: 9.707 MB / 454.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6964, allocations: 0 / 454.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.6964, allocations: 4 kB / 454.6 MB, free: 2.43 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.000807/0.6972, allocations: 482.9 kB / 455.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6973, allocations: 8.031 kB / 455.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.729e-05/0.6974, allocations: 50.55 kB / 455.1 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.6984, allocations: 87.72 kB / 455.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.699, allocations: 262.9 kB / 455.5 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.699, allocations: 8.328 kB / 455.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.6991, allocations: 28.41 kB / 455.5 MB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.6996, allocations: 255.6 kB / 455.8 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6997, allocations: 0 / 455.8 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.6997, allocations: 11.98 kB / 455.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/0.6998, allocations: 12.27 kB / 455.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.7003, allocations: 200.5 kB / 456 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.7025, allocations: 1.227 MB / 457.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.7029, allocations: 117.3 kB / 457.3 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.703, allocations: 41.78 kB / 457.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.7031, allocations: 3.938 kB / 457.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.7031, allocations: 38.55 kB / 457.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.116e-06/0.7031, allocations: 0 / 457.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003906/0.7035, allocations: 117.6 kB / 457.5 MB, free: 15.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.7036, allocations: 85.05 kB / 457.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.7039, allocations: 185.7 kB / 457.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.7039, allocations: 29.7 kB / 457.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.704, allocations: 151.9 kB / 458 MB, free: 14.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.7041, allocations: 43.45 kB / 458 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.7041, allocations: 4.031 kB / 458 MB, free: 14.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7043, allocations: 330.8 kB / 458.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.7044, allocations: 39.98 kB / 458.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.7046, allocations: 110.3 kB / 458.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.7048, allocations: 63.91 kB / 458.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.7048, allocations: 4 kB / 458.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004619/0.7053, allocations: 191 kB / 458.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7053, allocations: 4 kB / 458.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7054, allocations: 4 kB / 458.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.7054, allocations: 4.344 kB / 458.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.7058, allocations: 55.91 kB / 458.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.7058, allocations: 4 kB / 458.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.706, allocations: 19.78 kB / 458.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.7061, allocations: 8 kB / 458.8 MB, free: 13.86 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.0001156/0.7062, allocations: 119.6 kB / 458.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.7063, allocations: 19.81 kB / 459 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.7066, allocations: 127.1 kB / 459.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.7067, allocations: 7.938 kB / 459.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7067, allocations: 4 kB / 459.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.7067, allocations: 0 / 459.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.7079, allocations: 0.5343 MB / 459.6 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7079, allocations: 0 / 459.6 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.7083, allocations: 32.17 kB / 459.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.7083, allocations: 4 kB / 459.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.7083, allocations: 8 kB / 459.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.7083, allocations: 3.938 kB / 459.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.7084, allocations: 12.02 kB / 459.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.7091, allocations: 393.2 kB / 460.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.7092, allocations: 96.94 kB / 460.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.7092, allocations: 8 kB / 460.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.7094, allocations: 7.891 kB / 460.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.7095, allocations: 15.98 kB / 460.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.7095, allocations: 4 kB / 460.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.7097, allocations: 144.7 kB / 460.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7097, allocations: 4 kB / 460.3 MB, free: 12.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005099/0.7102, allocations: 55.84 kB / 460.4 MB, free: 12.1 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.001139/0.7114, allocations: 1.414 MB / 461.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.7118, allocations: 111.7 kB / 461.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7118, allocations: 0 / 461.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.7119, allocations: 47.92 kB / 462 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.7124, allocations: 33.11 kB / 462 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.7139, allocations: 474.1 kB / 462.5 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.7143, allocations: 0.7441 MB / 463.2 MB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.7145, allocations: 33.52 kB / 463.2 MB, free: 9.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.7146, allocations: 55.42 kB / 463.3 MB, free: 9.039 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7147, allocations: 0 / 463.3 MB, free: 9.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.7404, allocations: 3.13 MB / 466.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/0.7408, allocations: 159.1 kB / 466.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.19, allocations: 4 kB / 466.6 MB, free: 5.754 MB / 394.7 MB