Running command: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.134/2.134, allocations: 211.3 MB / 223.4 MB, free: 3.637 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.912e-05, allocations: 0 / 275.2 MB, free: 0.5859 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 48.76 MB / 323.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.5753, allocations: 85.7 MB / 409.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.5756, allocations: 72.34 kB / 409.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07309/0.6487, allocations: 18.38 MB / 428.1 MB, free: 6.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6487, allocations: 0 / 428.1 MB, free: 6.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.187e-05/0.6488, allocations: 12 kB / 428.1 MB, free: 6.805 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003306/0.6521, allocations: 0.8242 MB / 428.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.6522, allocations: 12.03 kB / 428.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002969/0.6525, allocations: 114.9 kB / 429 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/0.6574, allocations: 312 kB / 429.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6586, allocations: 372.7 kB / 429.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.6587, allocations: 55.31 kB / 429.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.6589, allocations: 65.81 kB / 429.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.6616, allocations: 0.7034 MB / 430.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.6617, allocations: 4 kB / 430.5 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.6618, allocations: 28.5 kB / 430.6 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.6619, allocations: 16 kB / 430.6 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.6644, allocations: 0.6036 MB / 431.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009278/0.6737, allocations: 3.083 MB / 434.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.6763, allocations: 0.9716 MB / 435.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.6767, allocations: 115.4 kB / 435.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.6769, allocations: 89.27 kB / 435.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.677, allocations: 37.55 kB / 435.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.627e-06/0.677, allocations: 0 / 435.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.000943/0.6779, allocations: 233.3 kB / 435.7 MB, free: 324 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.678, allocations: 89.08 kB / 435.8 MB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.681, allocations: 284.5 kB / 436.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.6811, allocations: 33.33 kB / 436.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.6815, allocations: 346.9 kB / 436.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.6817, allocations: 105.3 kB / 436.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.6818, allocations: 7.312 kB / 436.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.682, allocations: 337.8 kB / 436.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.6825, allocations: 148.1 kB / 437 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.6832, allocations: 294.8 kB / 437.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.6839, allocations: 174.6 kB / 437.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.6839, allocations: 0 / 437.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001708/0.6856, allocations: 466.2 kB / 437.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6857, allocations: 8 kB / 437.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.6857, allocations: 8 kB / 438 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.871e-05/0.6858, allocations: 8 kB / 438 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.6871, allocations: 135.5 kB / 438.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/0.6871, allocations: 11.98 kB / 438.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.688, allocations: 66.09 kB / 438.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.6881, allocations: 27.42 kB / 438.2 MB, free: 14.12 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0003086/0.6884, allocations: 133.3 kB / 438.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.6886, allocations: 27.67 kB / 438.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.6897, allocations: 280 kB / 438.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6898, allocations: 4 kB / 438.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6898, allocations: 0 / 438.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.6898, allocations: 7.969 kB / 438.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.6927, allocations: 0.8893 MB / 439.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.6927, allocations: 4 kB / 439.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.6934, allocations: 62.84 kB / 439.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.6935, allocations: 4 kB / 439.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.6935, allocations: 3.375 kB / 439.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-05/0.6936, allocations: 4 kB / 439.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.6936, allocations: 0 / 439.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.695, allocations: 0.5331 MB / 440.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.6952, allocations: 112.1 kB / 440.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6953, allocations: 10.44 kB / 440.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.6959, allocations: 15.17 kB / 440.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.696, allocations: 22.91 kB / 440.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.6961, allocations: 8 kB / 440.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005095/0.6966, allocations: 216 kB / 440.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6966, allocations: 0 / 440.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001329/0.698, allocations: 156.6 kB / 440.7 MB, free: 12.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.00206/0.7001, allocations: 1.193 MB / 441.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.7013, allocations: 310.7 kB / 442.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7013, allocations: 0 / 442.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.7017, allocations: 113.9 kB / 442.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.7023, allocations: 26.3 kB / 442.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.7086, allocations: 1.082 MB / 443.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.7093, allocations: 0.8421 MB / 444.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005362/0.7099, allocations: 59.19 kB / 444.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.7104, allocations: 174 kB / 444.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7104, allocations: 0 / 444.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.7446, allocations: 7.165 MB / 451.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.745, allocations: 173.6 kB / 451.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.314, allocations: 0 / 451.8 MB, free: 1.363 MB / 362.7 MB