Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_WeatherData_OneYear,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_WeatherData_OneYear",fmuType="me",version="2.0",platforms={"static"}) Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(PhotoVoltaics_TGM): time 3.98/3.98, allocations: 451.8 MB / 464 MB, free: 8.012 MB / 378.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 4.695e-05/4.688e-05, allocations: 4 kB / 0.5572 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 103.7 MB / 0.6585 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.53/6.737, allocations: 2.2 GB / 2.859 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/6.737, allocations: 69.73 kB / 2.859 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3139/7.051, allocations: 81.98 MB / 2.939 GB, free: 52.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.074e-06/7.051, allocations: 0 / 2.939 GB, free: 52.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001366/7.052, allocations: 48 kB / 2.939 GB, free: 52.16 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 554 * Number of variables: 554 Notification: Performance of Generate backend data structure: time 0.006616/7.058, allocations: 2.238 MB / 2.941 GB, free: 49.85 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/7.058, allocations: 8.031 kB / 2.941 GB, free: 49.84 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006159/7.059, allocations: 304 kB / 2.941 GB, free: 49.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/7.071, allocations: 1.171 MB / 2.942 GB, free: 48.36 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/7.074, allocations: 1.115 MB / 2.943 GB, free: 47.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/7.074, allocations: 164.3 kB / 2.944 GB, free: 47.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/7.075, allocations: 212 kB / 2.944 GB, free: 46.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005649/7.08, allocations: 2.377 MB / 2.946 GB, free: 44.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/7.081, allocations: 4 kB / 2.946 GB, free: 44.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/7.081, allocations: 92 kB / 2.946 GB, free: 44.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/7.081, allocations: 52 kB / 2.946 GB, free: 44.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006567/7.088, allocations: 2.647 MB / 2.949 GB, free: 41.54 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/7.109, allocations: 8.715 MB / 2.957 GB, free: 32.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/7.115, allocations: 2.788 MB / 2.96 GB, free: 29.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/7.117, allocations: 0.8074 MB / 2.961 GB, free: 28.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009403/7.118, allocations: 0.5625 MB / 2.961 GB, free: 28.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/7.12, allocations: 1.06 MB / 2.962 GB, free: 26.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=172): time 4.188e-06/7.12, allocations: 0 / 2.962 GB, free: 26.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=172): time 0.004912/7.125, allocations: 1.804 MB / 2.964 GB, free: 25.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/7.125, allocations: 389.8 kB / 2.965 GB, free: 24.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/7.127, allocations: 1.064 MB / 2.966 GB, free: 23.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002708/7.127, allocations: 57.7 kB / 2.966 GB, free: 23.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/7.128, allocations: 0.8811 MB / 2.967 GB, free: 22.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/7.129, allocations: 0.5623 MB / 2.967 GB, free: 22.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/7.129, allocations: 36 kB / 2.967 GB, free: 22.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001178/7.129, allocations: 381.8 kB / 2.967 GB, free: 21.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/7.131, allocations: 0.6678 MB / 2.968 GB, free: 20.99 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/7.133, allocations: 1.029 MB / 2.969 GB, free: 19.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/7.135, allocations: 0.8312 MB / 2.97 GB, free: 18.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/7.135, allocations: 4 kB / 2.97 GB, free: 18.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.005696/7.141, allocations: 2.094 MB / 2.972 GB, free: 16.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/7.141, allocations: 63.41 kB / 2.972 GB, free: 16.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/7.141, allocations: 8 kB / 2.972 GB, free: 16.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008687/7.141, allocations: 104.7 kB / 2.972 GB, free: 16.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004609/7.146, allocations: 0.4954 MB / 2.973 GB, free: 16.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/7.148, allocations: 1.565 MB / 2.974 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/7.152, allocations: 270.2 kB / 2.974 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/7.152, allocations: 95.92 kB / 2.975 GB, free: 14.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.mpTracker.vRef,mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005968/7.153, allocations: 290.1 kB / 2.975 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/7.153, allocations: 162 kB / 2.975 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/7.16, allocations: 2.307 MB / 2.977 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/7.16, allocations: 20 kB / 2.977 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/7.16, allocations: 0 / 2.977 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/7.16, allocations: 7.969 kB / 2.977 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/7.174, allocations: 4.888 MB / 2.982 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/7.174, allocations: 4 kB / 2.982 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/7.178, allocations: 367.5 kB / 2.982 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004157/7.182, allocations: 0.5449 MB / 2.983 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/7.182, allocations: 67.88 kB / 2.983 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/7.183, allocations: 0.874 MB / 2.984 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/7.183, allocations: 64 / 2.984 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/7.195, allocations: 3.308 MB / 2.987 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/7.196, allocations: 0.5256 MB / 2.988 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/7.197, allocations: 36 kB / 2.988 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/7.2, allocations: 171.8 kB / 2.988 GB, free: 344 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/7.2, allocations: 109.8 kB / 2.988 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/7.2, allocations: 75.94 kB / 2.988 GB, free: 160 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.5473/7.748, allocations: 0.8354 MB / 2.989 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.894e-06/7.748, allocations: 0 / 2.989 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003443/7.751, allocations: 0.6975 MB / 2.989 GB, free: 254.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,weaDat.conTim1.tNext,weaDat.conTim.tNext,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger,weaDat.conTim1.tNext,weaDat.conTim.tNext,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01579/7.767, allocations: 4.735 MB / 2.994 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005449/7.772, allocations: 1.951 MB / 2.996 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/7.772, allocations: 4.688 kB / 2.996 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/7.775, allocations: 1.033 MB / 2.997 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/7.778, allocations: 284.6 kB / 2.997 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/7.79, allocations: 3.756 MB / 3.001 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/7.792, allocations: 1.454 MB / 3.002 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003939/7.796, allocations: 450.1 kB / 3.003 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/7.798, allocations: 0.8432 MB / 3.004 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/7.798, allocations: 1.281 kB / 3.004 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/7.919, allocations: 40.52 MB / 3.043 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/7.919, allocations: 230.1 kB / 3.043 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/11.83, allocations: 0 / 3.043 GB, free: 248.6 MB / 0.8542 GB