Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_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.139/4.139, allocations: 451.8 MB / 464 MB, free: 8.043 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.75e-05/4.746e-05, allocations: 4 kB / 0.5572 GB, free: 15.4 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 103.7 MB / 0.6585 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8238/1.039, allocations: 148.4 MB / 0.8034 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.039, allocations: 67.16 kB / 0.8035 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1685/1.208, allocations: 36.07 MB / 0.8387 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/1.208, allocations: 0 / 0.8387 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.248e-05/1.208, allocations: 20 kB / 0.8387 GB, free: 2.934 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.004978/1.213, allocations: 1.358 MB / 0.84 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.213, allocations: 8.031 kB / 0.84 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004814/1.213, allocations: 167.5 kB / 0.8402 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/1.217, allocations: 375.1 kB / 0.8406 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.218, allocations: 0.5968 MB / 0.8411 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.219, allocations: 87.02 kB / 0.8412 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/1.219, allocations: 107.6 kB / 0.8413 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/1.223, allocations: 1.169 MB / 0.8425 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/1.223, allocations: 0 / 0.8425 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/1.223, allocations: 46.25 kB / 0.8425 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/1.223, allocations: 31.94 kB / 0.8425 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/1.227, allocations: 1.07 MB / 0.8436 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/1.24, allocations: 4.802 MB / 0.8483 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/1.244, allocations: 1.783 MB / 0.85 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009077/1.245, allocations: 331 kB / 0.8503 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/1.245, allocations: 174.8 kB / 0.8505 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/1.246, allocations: 0.5399 MB / 0.851 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.086e-06/1.246, allocations: 0 / 0.851 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.006867/1.253, allocations: 1.172 MB / 0.8522 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/1.254, allocations: 302.9 kB / 0.8525 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.255, allocations: 0.5482 MB / 0.853 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/1.255, allocations: 43.45 kB / 0.853 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.256, allocations: 0.5018 MB / 0.8535 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/1.256, allocations: 262.9 kB / 0.8538 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/1.256, allocations: 22.25 kB / 0.8538 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.256, allocations: 390.7 kB / 0.8542 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000899/1.257, allocations: 309.6 kB / 0.8545 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.258, allocations: 0.5815 MB / 0.855 GB, free: 4.953 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.03059/1.289, allocations: 2.804 MB / 0.8578 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/1.289, allocations: 4 kB / 0.8578 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003604/1.292, allocations: 1.186 MB / 0.8589 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/1.293, allocations: 96.28 kB / 0.859 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.293, allocations: 8 kB / 0.859 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/1.294, allocations: 104.9 kB / 0.8591 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.296, allocations: 262.3 kB / 0.8594 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.298, allocations: 1.57 MB / 0.8609 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.3, allocations: 116.2 kB / 0.861 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/1.3, allocations: 59.52 kB / 0.8611 GB, free: 15.27 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.0004457/1.3, allocations: 284.1 kB / 0.8614 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/1.301, allocations: 79.09 kB / 0.8614 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00764/1.308, allocations: 1.461 MB / 0.8629 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.308, allocations: 8 kB / 0.8629 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.308, allocations: 0 / 0.8629 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/1.308, allocations: 7.984 kB / 0.8629 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/1.314, allocations: 2.359 MB / 0.8652 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.314, allocations: 0 / 0.8652 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.315, allocations: 142.4 kB / 0.8653 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004356/1.319, allocations: 0.5462 MB / 0.8658 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/1.32, allocations: 39.48 kB / 0.8659 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.321, allocations: 0.8579 MB / 0.8667 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.321, allocations: 0 / 0.8667 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/1.325, allocations: 1.576 MB / 0.8683 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/1.326, allocations: 256.7 kB / 0.8685 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.326, allocations: 26.19 kB / 0.8685 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.327, allocations: 54.05 kB / 0.8686 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.327, allocations: 59.12 kB / 0.8686 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.327, allocations: 38.47 kB / 0.8687 GB, free: 9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008434/1.328, allocations: 437.8 kB / 0.8691 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.328, allocations: 3.938 kB / 0.8691 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001643/1.33, allocations: 388.8 kB / 0.8695 GB, free: 8.34 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.00518/1.335, allocations: 2.569 MB / 0.872 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002971/1.338, allocations: 1.099 MB / 0.8731 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.338, allocations: 4.25 kB / 0.8731 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/1.339, allocations: 0.6338 MB / 0.8737 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.341, allocations: 119 kB / 0.8738 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007542/1.348, allocations: 1.985 MB / 0.8757 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/1.349, allocations: 1.046 MB / 0.8767 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008937/1.35, allocations: 122.4 kB / 0.8769 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008845/1.351, allocations: 415.2 kB / 0.8773 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of SimCode: time 9.52e-07/1.351, allocations: 0 / 0.8773 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07634/1.427, allocations: 20.97 MB / 0.8977 GB, free: 12.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004047/1.428, allocations: 217.1 kB / 0.8979 GB, free: 11.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/4.974, allocations: 0 / 0.8979 GB, free: 11.99 MB / 0.698 GB