Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Analytical_20160808",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.917/3.917, allocations: 451.8 MB / 464 MB, free: 8.027 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.497e-05/4.491e-05, allocations: 4 kB / 0.5572 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 103.7 MB / 0.6585 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.823/1.03, allocations: 148.4 MB / 0.8034 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/1.03, allocations: 61.8 kB / 0.8035 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1465/1.177, allocations: 36.08 MB / 0.8387 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.023e-06/1.177, allocations: 0 / 0.8387 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.463e-05/1.177, allocations: 20 kB / 0.8387 GB, free: 2.445 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.004528/1.182, allocations: 1.348 MB / 0.84 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.182, allocations: 12.03 kB / 0.84 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003452/1.182, allocations: 165.3 kB / 0.8402 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/1.185, allocations: 378 kB / 0.8406 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.187, allocations: 0.6011 MB / 0.8411 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/1.187, allocations: 81.14 kB / 0.8412 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/1.187, allocations: 111.5 kB / 0.8413 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/1.19, allocations: 1.167 MB / 0.8425 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/1.19, allocations: 0 / 0.8425 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.19, allocations: 44.62 kB / 0.8425 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/1.19, allocations: 28 kB / 0.8425 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/1.194, allocations: 1.063 MB / 0.8436 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/1.205, allocations: 4.817 MB / 0.8483 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/1.209, allocations: 1.779 MB / 0.85 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009383/1.21, allocations: 335.1 kB / 0.8503 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/1.21, allocations: 170.8 kB / 0.8505 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/1.211, allocations: 0.5313 MB / 0.851 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.787e-06/1.211, allocations: 0 / 0.851 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.006853/1.218, allocations: 1.172 MB / 0.8522 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/1.218, allocations: 310.2 kB / 0.8525 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.22, allocations: 0.5457 MB / 0.853 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.22, allocations: 47.14 kB / 0.853 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/1.22, allocations: 0.5049 MB / 0.8535 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/1.221, allocations: 257.8 kB / 0.8538 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/1.221, allocations: 28.25 kB / 0.8538 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.221, allocations: 389.6 kB / 0.8542 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008799/1.222, allocations: 319.7 kB / 0.8545 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.223, allocations: 0.5789 MB / 0.855 GB, free: 4.469 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.03045/1.253, allocations: 2.801 MB / 0.8578 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.253, allocations: 0 / 0.8578 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003609/1.257, allocations: 1.195 MB / 0.859 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.634e-05/1.257, allocations: 89.11 kB / 0.859 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.257, allocations: 8 kB / 0.859 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008862/1.258, allocations: 100.1 kB / 0.8591 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/1.26, allocations: 271.2 kB / 0.8594 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.263, allocations: 1.564 MB / 0.8609 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.264, allocations: 124.5 kB / 0.861 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/1.265, allocations: 59.17 kB / 0.8611 GB, free: 14.78 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.0004494/1.265, allocations: 280.4 kB / 0.8614 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/1.265, allocations: 79.16 kB / 0.8614 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007583/1.273, allocations: 1.458 MB / 0.8629 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.273, allocations: 12 kB / 0.8629 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.273, allocations: 0 / 0.8629 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/1.273, allocations: 3.984 kB / 0.8629 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/1.279, allocations: 2.366 MB / 0.8652 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.279, allocations: 0 / 0.8652 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.28, allocations: 130.9 kB / 0.8653 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004342/1.284, allocations: 0.5466 MB / 0.8659 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/1.284, allocations: 35.3 kB / 0.8659 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/1.286, allocations: 0.8665 MB / 0.8667 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.286, allocations: 0 / 0.8667 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/1.29, allocations: 1.571 MB / 0.8683 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/1.29, allocations: 263.7 kB / 0.8685 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/1.29, allocations: 24.56 kB / 0.8685 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.292, allocations: 47.53 kB / 0.8686 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.292, allocations: 59.59 kB / 0.8686 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.292, allocations: 43.02 kB / 0.8687 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008729/1.293, allocations: 434.7 kB / 0.8691 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/1.293, allocations: 0 / 0.8691 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001667/1.295, allocations: 393.9 kB / 0.8695 GB, free: 7.859 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.005203/1.3, allocations: 2.573 MB / 0.872 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002877/1.303, allocations: 1.106 MB / 0.8731 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.303, allocations: 0 / 0.8731 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.304, allocations: 0.633 MB / 0.8737 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.305, allocations: 116.2 kB / 0.8738 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/1.313, allocations: 1.983 MB / 0.8757 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/1.314, allocations: 1.046 MB / 0.8768 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009888/1.315, allocations: 122.4 kB / 0.8769 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/1.316, allocations: 407.3 kB / 0.8773 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/1.316, allocations: 0 / 0.8773 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/1.384, allocations: 20.98 MB / 0.8977 GB, free: 12.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/1.385, allocations: 216.6 kB / 0.898 GB, free: 11.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.552, allocations: 3.938 kB / 0.898 GB, free: 11.83 MB / 0.698 GB