Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") 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.056/4.056, 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 7.285e-05/7.299e-05, allocations: 15.98 kB / 0.5571 GB, free: 15.44 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 103.7 MB / 0.6584 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7379/0.9626, allocations: 148.4 MB / 0.8033 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.9628, allocations: 69.06 kB / 0.8034 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1562/1.119, allocations: 36.06 MB / 0.8386 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.332e-06/1.119, allocations: 0 / 0.8386 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.268e-05/1.119, allocations: 24 kB / 0.8386 GB, free: 2.859 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.007395/1.127, allocations: 1.343 MB / 0.8399 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/1.127, allocations: 8.031 kB / 0.8399 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/1.133, allocations: 380.8 kB / 0.8403 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.134, allocations: 0.6022 MB / 0.8409 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.135, allocations: 86.33 kB / 0.841 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/1.135, allocations: 113.1 kB / 0.8411 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/1.138, allocations: 1.156 MB / 0.8422 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/1.138, allocations: 0 / 0.8422 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.138, allocations: 52.06 kB / 0.8423 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/1.138, allocations: 28 kB / 0.8423 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/1.141, allocations: 1.065 MB / 0.8433 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/1.152, allocations: 4.816 MB / 0.848 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/1.155, allocations: 1.775 MB / 0.8498 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/1.156, allocations: 335.9 kB / 0.8501 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/1.157, allocations: 170.8 kB / 0.8502 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/1.158, allocations: 0.5266 MB / 0.8508 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 4.314e-06/1.158, allocations: 0 / 0.8508 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.004941/1.163, allocations: 1.174 MB / 0.8519 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000239/1.163, allocations: 309.7 kB / 0.8522 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/1.164, allocations: 0.5549 MB / 0.8527 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/1.164, allocations: 42.23 kB / 0.8528 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.165, allocations: 0.5047 MB / 0.8533 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/1.165, allocations: 262.6 kB / 0.8535 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/1.165, allocations: 19.31 kB / 0.8535 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002374/1.166, allocations: 388 kB / 0.8539 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/1.167, allocations: 315.4 kB / 0.8542 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.168, allocations: 0.5749 MB / 0.8548 GB, free: 5.004 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.01987/1.187, allocations: 2.805 MB / 0.8575 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.188, allocations: 4 kB / 0.8575 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003322/1.191, allocations: 1.192 MB / 0.8587 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.191, allocations: 97.75 kB / 0.8588 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.191, allocations: 8 kB / 0.8588 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.192, allocations: 99.41 kB / 0.8589 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.193, allocations: 268.4 kB / 0.8591 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/1.196, allocations: 1.559 MB / 0.8607 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.197, allocations: 121.1 kB / 0.8608 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.197, allocations: 62.83 kB / 0.8608 GB, free: 15.31 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.0004427/1.198, allocations: 281.1 kB / 0.8611 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/1.198, allocations: 79.25 kB / 0.8612 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/1.204, allocations: 1.457 MB / 0.8626 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/1.204, allocations: 11.98 kB / 0.8626 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.692e-06/1.204, allocations: 4 kB / 0.8626 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/1.204, allocations: 7.984 kB / 0.8626 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/1.209, allocations: 2.357 MB / 0.8649 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.209, allocations: 3.984 kB / 0.8649 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/1.21, allocations: 135.3 kB / 0.8651 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/1.213, allocations: 0.5378 MB / 0.8656 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.213, allocations: 33.78 kB / 0.8656 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/1.215, allocations: 0.8837 MB / 0.8665 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.318e-06/1.215, allocations: 0 / 0.8665 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/1.218, allocations: 1.572 MB / 0.868 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/1.219, allocations: 254.9 kB / 0.8683 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.219, allocations: 26.25 kB / 0.8683 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/1.22, allocations: 46.28 kB / 0.8683 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.22, allocations: 59.33 kB / 0.8684 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.22, allocations: 38.84 kB / 0.8684 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008004/1.221, allocations: 445.3 kB / 0.8688 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.89e-07/1.221, allocations: 0 / 0.8688 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001582/1.223, allocations: 396 kB / 0.8692 GB, free: 8.375 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.001085/1.224, allocations: 421.2 kB / 0.8696 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002563/1.226, allocations: 1.104 MB / 0.8707 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.55e-06/1.226, allocations: 0 / 0.8707 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/1.228, allocations: 0.6301 MB / 0.8713 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.229, allocations: 128.6 kB / 0.8714 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/1.236, allocations: 1.778 MB / 0.8732 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/1.236, allocations: 1.042 MB / 0.8742 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008627/1.237, allocations: 122.4 kB / 0.8743 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/1.238, allocations: 87.81 kB / 0.8744 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of SimCode: time 2.035e-06/1.238, allocations: 0 / 0.8744 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.03533/1.273, allocations: 13.08 MB / 0.8872 GB, free: 6.75 MB / 0.6823 GB