Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Analytical_20160629",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 4.012/4.012, allocations: 451.8 MB / 464 MB, free: 8 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.948e-05/4.949e-05, allocations: 8 kB / 0.5572 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2108, allocations: 103.7 MB / 0.6585 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.826/1.037, allocations: 148.4 MB / 0.8034 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/1.037, allocations: 65.52 kB / 0.8035 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1484/1.186, allocations: 36.08 MB / 0.8387 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.033e-06/1.186, allocations: 0 / 0.8387 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.174e-05/1.186, allocations: 24 kB / 0.8387 GB, free: 2.395 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.004911/1.191, allocations: 1.352 MB / 0.84 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.191, allocations: 8.031 kB / 0.84 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004325/1.191, allocations: 173.6 kB / 0.8402 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/1.194, allocations: 372.9 kB / 0.8406 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.196, allocations: 0.5992 MB / 0.8411 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-05/1.196, allocations: 84.58 kB / 0.8412 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/1.196, allocations: 111 kB / 0.8413 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/1.199, allocations: 1.16 MB / 0.8425 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/1.2, allocations: 11.06 kB / 0.8425 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/1.2, allocations: 43.88 kB / 0.8425 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/1.2, allocations: 28 kB / 0.8425 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/1.203, allocations: 1.067 MB / 0.8436 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/1.215, allocations: 4.802 MB / 0.8483 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/1.219, allocations: 1.787 MB / 0.85 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/1.22, allocations: 336.5 kB / 0.8503 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/1.22, allocations: 177.9 kB / 0.8505 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.221, allocations: 0.5309 MB / 0.851 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.587e-06/1.221, allocations: 3.938 kB / 0.851 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.006997/1.228, allocations: 1.171 MB / 0.8522 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/1.229, allocations: 309.2 kB / 0.8525 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/1.23, allocations: 0.5464 MB / 0.853 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.23, allocations: 44.44 kB / 0.8531 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/1.231, allocations: 0.5033 MB / 0.8535 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/1.231, allocations: 262.6 kB / 0.8538 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/1.231, allocations: 20.12 kB / 0.8538 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.231, allocations: 393 kB / 0.8542 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008987/1.232, allocations: 307.9 kB / 0.8545 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.233, allocations: 0.5836 MB / 0.8551 GB, free: 4.414 MB / 0.6511 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03153/1.265, allocations: 2.8 MB / 0.8578 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/1.265, allocations: 8 kB / 0.8578 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00373/1.269, allocations: 1.187 MB / 0.859 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/1.269, allocations: 89.09 kB / 0.859 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.269, allocations: 16.06 kB / 0.8591 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009075/1.27, allocations: 100.6 kB / 0.8591 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.272, allocations: 267.3 kB / 0.8594 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/1.274, allocations: 1.566 MB / 0.8609 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.276, allocations: 111.7 kB / 0.861 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/1.276, allocations: 63.08 kB / 0.8611 GB, free: 14.73 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 3 * 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.0004761/1.277, allocations: 283.2 kB / 0.8614 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/1.277, allocations: 79.09 kB / 0.8614 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/1.285, allocations: 1.457 MB / 0.8629 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.285, allocations: 8 kB / 0.8629 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.285, allocations: 8 kB / 0.8629 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/1.285, allocations: 3.984 kB / 0.8629 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/1.291, allocations: 2.362 MB / 0.8652 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.291, allocations: 8.031 kB / 0.8652 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.292, allocations: 131.3 kB / 0.8653 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004447/1.296, allocations: 0.5423 MB / 0.8659 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/1.297, allocations: 35.17 kB / 0.8659 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.298, allocations: 0.8649 MB / 0.8667 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.298, allocations: 4.031 kB / 0.8667 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/1.302, allocations: 1.577 MB / 0.8683 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/1.303, allocations: 255.1 kB / 0.8685 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/1.303, allocations: 22.69 kB / 0.8685 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.304, allocations: 46.34 kB / 0.8686 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.304, allocations: 67.08 kB / 0.8687 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.304, allocations: 38.91 kB / 0.8687 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009058/1.305, allocations: 436.3 kB / 0.8691 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.41e-07/1.305, allocations: 0 / 0.8691 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001678/1.307, allocations: 393.8 kB / 0.8695 GB, free: 7.797 MB / 0.6667 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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.005243/1.312, allocations: 2.568 MB / 0.872 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.315, allocations: 1.103 MB / 0.8731 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.315, allocations: 1.938 kB / 0.8731 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.317, allocations: 0.6289 MB / 0.8737 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.318, allocations: 124.9 kB / 0.8738 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/1.326, allocations: 1.988 MB / 0.8757 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/1.327, allocations: 1.042 MB / 0.8768 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000932/1.328, allocations: 118.4 kB / 0.8769 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009115/1.328, allocations: 419.2 kB / 0.8773 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/1.328, allocations: 0 / 0.8773 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07554/1.404, allocations: 20.97 MB / 0.8977 GB, free: 12.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.404, allocations: 221.1 kB / 0.898 GB, free: 11.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.403, allocations: 0 / 0.898 GB, free: 11.8 MB / 0.698 GB