Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.466/2.466, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.582e-05/4.589e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 53.23 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4915/0.6368, allocations: 90.27 MB / 445.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.6372, allocations: 79.95 kB / 445.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05955/0.6968, allocations: 14.51 MB / 460.4 MB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.6969, allocations: 4 kB / 460.4 MB, free: 12.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.6969, allocations: 11.94 kB / 460.4 MB, free: 12.68 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008831/0.6978, allocations: 490.1 kB / 460.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6978, allocations: 8.031 kB / 460.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.6979, allocations: 54.55 kB / 461 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.6994, allocations: 115.6 kB / 461.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.7, allocations: 267.1 kB / 461.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.7, allocations: 19.94 kB / 461.3 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.7001, allocations: 20 kB / 461.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.7009, allocations: 302.9 kB / 461.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7009, allocations: 0 / 461.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.701, allocations: 15.94 kB / 461.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.701, allocations: 19.92 kB / 461.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.7018, allocations: 291.8 kB / 462 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.7044, allocations: 1.271 MB / 463.3 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.7049, allocations: 194.5 kB / 463.4 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.7051, allocations: 37.78 kB / 463.5 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.7051, allocations: 4 kB / 463.5 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.7052, allocations: 42.48 kB / 463.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.7052, allocations: 0 / 463.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004241/0.7056, allocations: 113.4 kB / 463.6 MB, free: 9.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.7057, allocations: 81.06 kB / 463.7 MB, free: 9.074 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.706, allocations: 191 kB / 463.9 MB, free: 8.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.7061, allocations: 25.7 kB / 463.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.7062, allocations: 167.6 kB / 464.1 MB, free: 8.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.7063, allocations: 35.48 kB / 464.1 MB, free: 8.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.7063, allocations: 7.969 kB / 464.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7065, allocations: 334.8 kB / 464.5 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.7066, allocations: 36 kB / 464.5 MB, free: 8.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.7068, allocations: 128.9 kB / 464.6 MB, free: 8.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.707, allocations: 59.91 kB / 464.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.707, allocations: 4 kB / 464.7 MB, free: 8.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000476/0.7075, allocations: 189.5 kB / 464.9 MB, free: 7.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.7075, allocations: 7.984 kB / 464.9 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7075, allocations: 4 kB / 464.9 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.7076, allocations: 4 kB / 464.9 MB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.7079, allocations: 47.92 kB / 464.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.7079, allocations: 11.94 kB / 464.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.7082, allocations: 27.69 kB / 465 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.7082, allocations: 12 kB / 465 MB, free: 7.73 MB / 394.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 (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.000117/0.7083, allocations: 121.1 kB / 465.1 MB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.7084, allocations: 19.8 kB / 465.1 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.7088, allocations: 115.3 kB / 465.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7088, allocations: 4 kB / 465.2 MB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7088, allocations: 96 / 465.2 MB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7088, allocations: 7.922 kB / 465.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.71, allocations: 0.5604 MB / 465.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.71, allocations: 4 kB / 465.8 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.7102, allocations: 19.94 kB / 465.8 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.7102, allocations: 4.312 kB / 465.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.7102, allocations: 8 kB / 465.8 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.7103, allocations: 7.938 kB / 465.8 MB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7103, allocations: 4 kB / 465.8 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.7108, allocations: 397.5 kB / 466.2 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.7109, allocations: 104.8 kB / 466.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.7109, allocations: 4 kB / 466.3 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7111, allocations: 4 kB / 466.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.7112, allocations: 19.94 kB / 466.4 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.7112, allocations: 4 kB / 466.4 MB, free: 6.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.7114, allocations: 153.5 kB / 466.5 MB, free: 5.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7115, allocations: 0 / 466.5 MB, free: 5.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005489/0.712, allocations: 59.84 kB / 466.6 MB, free: 5.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * 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.001217/0.7132, allocations: 1.626 MB / 468.2 MB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.7136, allocations: 103.8 kB / 468.3 MB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7137, allocations: 0 / 468.3 MB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.7138, allocations: 45.42 kB / 468.3 MB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.7143, allocations: 34.81 kB / 468.4 MB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.7154, allocations: 388.4 kB / 468.8 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.7159, allocations: 0.7675 MB / 469.5 MB, free: 2.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.7161, allocations: 37.52 kB / 469.6 MB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.7163, allocations: 55.42 kB / 469.6 MB, free: 2.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7163, allocations: 0 / 469.6 MB, free: 2.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.7396, allocations: 2.99 MB / 472.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.7399, allocations: 159.3 kB / 472.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.119, allocations: 0 / 472.8 MB, free: 15.53 MB / 410.7 MB