Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.061/2.061, allocations: 211.3 MB / 223.4 MB, free: 3.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.571e-05, allocations: 9.391 kB / 275.2 MB, free: 0.5742 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 48.76 MB / 323.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.576, allocations: 89.84 MB / 413.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5763, allocations: 69.78 kB / 413.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.356/0.9323, allocations: 70.2 MB / 484.1 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.9324, allocations: 0 / 484.1 MB, free: 2.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002583/0.9326, allocations: 60 kB / 484.1 MB, free: 2.684 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: 702 * Number of variables: 702 Notification: Performance of Generate backend data structure: time 0.01229/0.9449, allocations: 2.765 MB / 486.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.945, allocations: 12.03 kB / 486.9 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001449/0.9465, allocations: 383.8 kB / 487.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.948, allocations: 336 kB / 487.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.9531, allocations: 1.647 MB / 489.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.9534, allocations: 213.4 kB / 489.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.9546, allocations: 276 kB / 489.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.9653, allocations: 2.947 MB / 492.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.9654, allocations: 3.938 kB / 492.7 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/0.966, allocations: 120 kB / 492.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-05/0.9661, allocations: 68 kB / 492.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.9763, allocations: 2.63 MB / 495.5 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03607/1.012, allocations: 13.02 MB / 0.4966 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00682/1.019, allocations: 3.591 MB / 0.5001 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/1.022, allocations: 0.9569 MB / 0.501 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.022, allocations: 13 kB / 0.501 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/1.025, allocations: 0.9087 MB / 0.5019 GB, free: 3.738 MB / 426.7 MB Notification: Performance of pre-optimization done (n=138): time 4.569e-06/1.025, allocations: 0 / 0.5019 GB, free: 3.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.02033/1.045, allocations: 2.989 MB / 0.5048 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002326/1.045, allocations: 306.3 kB / 0.5051 GB, free: 352 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2844/1.33, allocations: 1.73 MB / 0.5068 GB, free: 105.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005122/1.33, allocations: 57.88 kB / 0.5069 GB, free: 105.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.332, allocations: 1.231 MB / 0.5081 GB, free: 105.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008054/1.333, allocations: 454.9 kB / 0.5085 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.333, allocations: 36.44 kB / 0.5086 GB, free: 105.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/1.333, allocations: 373.9 kB / 0.5089 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.336, allocations: 0.745 MB / 0.5096 GB, free: 104.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/1.339, allocations: 1.12 MB / 0.5107 GB, free: 104.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/1.343, allocations: 0.9959 MB / 0.5117 GB, free: 104.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/1.343, allocations: 4.766 kB / 0.5117 GB, free: 104.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.009348/1.352, allocations: 2.584 MB / 0.5142 GB, free: 104 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/1.352, allocations: 120.3 kB / 0.5143 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.352, allocations: 10.75 kB / 0.5144 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00353/1.356, allocations: 361.5 kB / 0.5147 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/1.361, allocations: 481.5 kB / 0.5152 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00845/1.369, allocations: 6.4 MB / 0.5214 GB, free: 98.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/1.373, allocations: 264.3 kB / 0.5217 GB, free: 98.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000527/1.374, allocations: 95.92 kB / 0.5218 GB, free: 98.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.signv,$PRE.solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter4.mpTracker.counter,solarPyramid.dcConverter4.mpTracker.counter,$PRE.solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.signv,$PRE.solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter3.mpTracker.counter,solarPyramid.dcConverter3.mpTracker.counter,$PRE.solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.signv,$PRE.solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter2.mpTracker.counter,solarPyramid.dcConverter2.mpTracker.counter,$PRE.solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.signv,$PRE.solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter1.mpTracker.counter,solarPyramid.dcConverter1.mpTracker.counter,$whenCondition4,solarPyramid.dcConverter4.mpTracker.sampleTrigger,$whenCondition3,solarPyramid.dcConverter3.mpTracker.sampleTrigger,$whenCondition2,solarPyramid.dcConverter2.mpTracker.sampleTrigger,$whenCondition1,solarPyramid.dcConverter1.mpTracker.sampleTrigger,$PRE.solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter1.mpTracker.vRef,$PRE.solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.vRef,$PRE.solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.vRef,$PRE.solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.converter.integrator.local_reset,solarPyramid.dcConverter3.converter.integrator.local_reset,solarPyramid.dcConverter2.converter.integrator.local_reset,solarPyramid.dcConverter1.converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {2,2,2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007528/1.375, allocations: 385.3 kB / 0.5221 GB, free: 98.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/1.375, allocations: 211.6 kB / 0.5223 GB, free: 98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/1.396, allocations: 3.336 MB / 0.5256 GB, free: 97.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.396, allocations: 12.66 kB / 0.5256 GB, free: 97.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.396, allocations: 3.984 kB / 0.5256 GB, free: 97.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.283e-05/1.396, allocations: 5.531 kB / 0.5256 GB, free: 97.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03522/1.431, allocations: 6.455 MB / 0.5319 GB, free: 97.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/1.431, allocations: 3.953 kB / 0.5319 GB, free: 97.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/1.434, allocations: 172.2 kB / 0.5321 GB, free: 97.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02441/1.458, allocations: 2.536 MB / 0.5346 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004947/1.458, allocations: 60.28 kB / 0.5346 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00763/1.466, allocations: 3.761 MB / 0.5383 GB, free: 94.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.466, allocations: 0 / 0.5383 GB, free: 94.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0268/1.493, allocations: 4.289 MB / 0.5425 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.495, allocations: 0.6214 MB / 0.5431 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000829/1.496, allocations: 61.62 kB / 0.5431 GB, free: 93.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/1.499, allocations: 134.7 kB / 0.5433 GB, free: 93.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/1.499, allocations: 77.72 kB / 0.5433 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.5, allocations: 67.67 kB / 0.5434 GB, free: 93.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003169/1.503, allocations: 1.319 MB / 0.5447 GB, free: 93.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.503, allocations: 0 / 0.5447 GB, free: 93.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003547/1.506, allocations: 0.7077 MB / 0.5454 GB, free: 92.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solarPyramid.dcConverter1.converter.integrator.y,solarPyramid.dcConverter2.converter.integrator.y,solarPyramid.dcConverter3.converter.integrator.y,solarPyramid.dcConverter4.converter.integrator.y) * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.sampleTrigger,solarPyramid.dcConverter1.mpTracker.counter,solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.sampleTrigger,solarPyramid.dcConverter2.mpTracker.counter,solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.sampleTrigger,solarPyramid.dcConverter3.mpTracker.counter,solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.sampleTrigger,solarPyramid.dcConverter4.mpTracker.counter,solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.vRef) * Number of discrete states: 28 (solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.counter,$whenCondition3,solarPyramid.dcConverter3.mpTracker.sampleTrigger,solarPyramid.dcConverter3.mpTracker.power,solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.counter,$whenCondition2,solarPyramid.dcConverter2.mpTracker.sampleTrigger,solarPyramid.dcConverter2.mpTracker.power,solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.counter,$whenCondition1,solarPyramid.dcConverter1.mpTracker.sampleTrigger,solarPyramid.dcConverter1.mpTracker.power,solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.counter,$whenCondition4,solarPyramid.dcConverter4.mpTracker.sampleTrigger,solarPyramid.dcConverter4.mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02285/1.529, allocations: 5.225 MB / 0.5505 GB, free: 90.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006394/1.536, allocations: 2.459 MB / 0.5529 GB, free: 88.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.536, allocations: 2.062 kB / 0.5529 GB, free: 88.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/1.539, allocations: 1.205 MB / 0.5541 GB, free: 88.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.542, allocations: 341.5 kB / 0.5544 GB, free: 88.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.554, allocations: 3.442 MB / 0.5578 GB, free: 86.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.556, allocations: 1.614 MB / 0.5593 GB, free: 85.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001867/1.558, allocations: 229.2 kB / 0.5595 GB, free: 85.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/1.56, allocations: 1.076 MB / 0.5606 GB, free: 84.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/1.56, allocations: 3.75 kB / 0.5606 GB, free: 84.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/1.693, allocations: 51.51 MB / 0.6109 GB, free: 49.47 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/1.693, allocations: 174.7 kB / 0.6111 GB, free: 49.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.323/6.016, allocations: 0 / 0.6111 GB, free: 49.25 MB / 426.7 MB