Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Analytical_20160704",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.97/3.97, 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.961e-05/4.962e-05, allocations: 7.266 kB / 0.5572 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2094, allocations: 103.7 MB / 0.6585 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8082/1.018, allocations: 148.4 MB / 0.8034 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/1.018, allocations: 62.3 kB / 0.8035 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1479/1.166, allocations: 36.07 MB / 0.8387 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/1.166, allocations: 0 / 0.8387 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.569e-05/1.166, allocations: 20 kB / 0.8387 GB, free: 2.785 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.004763/1.171, allocations: 1.352 MB / 0.84 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.171, allocations: 8.031 kB / 0.84 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004048/1.171, allocations: 165.8 kB / 0.8402 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/1.175, allocations: 376.7 kB / 0.8406 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/1.176, allocations: 0.6029 MB / 0.8411 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.176, allocations: 84.77 kB / 0.8412 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/1.176, allocations: 110.4 kB / 0.8413 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/1.18, allocations: 1.163 MB / 0.8425 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/1.18, allocations: 7.938 kB / 0.8425 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/1.18, allocations: 46.81 kB / 0.8425 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/1.18, allocations: 24 kB / 0.8425 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/1.183, allocations: 1.062 MB / 0.8436 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/1.195, allocations: 4.81 MB / 0.8483 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/1.199, allocations: 1.778 MB / 0.85 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/1.2, allocations: 335.1 kB / 0.8503 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/1.2, allocations: 177.9 kB / 0.8505 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/1.201, allocations: 0.529 MB / 0.851 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/1.201, allocations: 0 / 0.851 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.006995/1.208, allocations: 1.173 MB / 0.8522 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002184/1.208, allocations: 306.9 kB / 0.8525 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.21, allocations: 0.5543 MB / 0.853 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/1.21, allocations: 39.89 kB / 0.853 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/1.21, allocations: 0.503 MB / 0.8535 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/1.211, allocations: 261.1 kB / 0.8538 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/1.211, allocations: 23.12 kB / 0.8538 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.211, allocations: 388.8 kB / 0.8542 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000953/1.212, allocations: 316.6 kB / 0.8545 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.213, allocations: 0.5827 MB / 0.855 GB, free: 4.809 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.03092/1.244, allocations: 2.802 MB / 0.8578 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/1.244, allocations: 4 kB / 0.8578 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003651/1.248, allocations: 1.192 MB / 0.8589 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/1.248, allocations: 90.83 kB / 0.859 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.248, allocations: 8 kB / 0.859 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008957/1.249, allocations: 104.3 kB / 0.8591 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.251, allocations: 269.6 kB / 0.8594 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.254, allocations: 1.562 MB / 0.8609 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.255, allocations: 122.5 kB / 0.861 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/1.256, allocations: 55.09 kB / 0.8611 GB, free: 15.12 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.000475/1.256, allocations: 287.8 kB / 0.8614 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.256, allocations: 75.16 kB / 0.8614 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/1.264, allocations: 1.458 MB / 0.8629 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.264, allocations: 8 kB / 0.8629 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.264, allocations: 4 kB / 0.8629 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-05/1.264, allocations: 3.984 kB / 0.8629 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00569/1.27, allocations: 2.368 MB / 0.8652 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.27, allocations: 0 / 0.8652 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.271, allocations: 135.1 kB / 0.8653 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00444/1.276, allocations: 0.5485 MB / 0.8659 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.276, allocations: 34.05 kB / 0.8659 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/1.277, allocations: 0.862 MB / 0.8667 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.278, allocations: 0 / 0.8667 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/1.282, allocations: 1.571 MB / 0.8683 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/1.282, allocations: 258.1 kB / 0.8685 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.283, allocations: 31.5 kB / 0.8685 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.284, allocations: 48.97 kB / 0.8686 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/1.284, allocations: 62.47 kB / 0.8686 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.284, allocations: 38.45 kB / 0.8687 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008912/1.285, allocations: 441.4 kB / 0.8691 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/1.285, allocations: 0 / 0.8691 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001672/1.287, allocations: 388.7 kB / 0.8695 GB, free: 8.191 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.005359/1.292, allocations: 2.57 MB / 0.872 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002962/1.295, allocations: 1.1 MB / 0.8731 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.295, allocations: 448 / 0.8731 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.297, allocations: 0.6373 MB / 0.8737 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.298, allocations: 122.8 kB / 0.8738 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/1.306, allocations: 1.985 MB / 0.8757 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/1.307, allocations: 1.046 MB / 0.8768 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009482/1.308, allocations: 122.4 kB / 0.8769 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009517/1.308, allocations: 411.3 kB / 0.8773 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/1.309, allocations: 0 / 0.8773 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06843/1.377, allocations: 20.98 MB / 0.8978 GB, free: 12.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/1.377, allocations: 217.2 kB / 0.898 GB, free: 11.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/4.455, allocations: 0 / 0.898 GB, free: 11.88 MB / 0.698 GB