Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") 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.963/3.963, 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 5.34e-05/5.347e-05, allocations: 13.08 kB / 0.5571 GB, free: 15.47 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 103.7 MB / 0.6584 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7467/0.9583, allocations: 148.4 MB / 0.8033 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.9586, allocations: 70.84 kB / 0.8034 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1404/1.099, allocations: 36.06 MB / 0.8386 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.791e-06/1.099, allocations: 0 / 0.8386 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.073e-05/1.099, allocations: 27.88 kB / 0.8386 GB, free: 2.902 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.004216/1.103, allocations: 1.341 MB / 0.8399 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.103, allocations: 12.03 kB / 0.8399 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/1.107, allocations: 374.6 kB / 0.8403 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.109, allocations: 0.6001 MB / 0.8409 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.109, allocations: 84.02 kB / 0.841 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/1.109, allocations: 114.3 kB / 0.8411 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/1.113, allocations: 1.165 MB / 0.8422 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.535e-05/1.113, allocations: 4 kB / 0.8422 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.113, allocations: 50.42 kB / 0.8423 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/1.113, allocations: 27.94 kB / 0.8423 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/1.116, allocations: 1.065 MB / 0.8433 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/1.127, allocations: 4.817 MB / 0.848 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/1.13, allocations: 1.765 MB / 0.8498 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008883/1.131, allocations: 335.3 kB / 0.8501 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/1.131, allocations: 174.5 kB / 0.8502 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/1.132, allocations: 0.5324 MB / 0.8508 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 4.063e-06/1.132, allocations: 0 / 0.8508 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.004994/1.137, allocations: 1.169 MB / 0.8519 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002184/1.137, allocations: 310.4 kB / 0.8522 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/1.139, allocations: 0.555 MB / 0.8527 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/1.139, allocations: 40.39 kB / 0.8528 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/1.139, allocations: 0.5019 MB / 0.8533 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/1.14, allocations: 261.6 kB / 0.8535 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/1.14, allocations: 25.91 kB / 0.8535 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.14, allocations: 389.3 kB / 0.8539 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.142, allocations: 313.6 kB / 0.8542 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.143, allocations: 0.5806 MB / 0.8548 GB, free: 5.043 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.01967/1.162, allocations: 2.8 MB / 0.8575 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.162, allocations: 4 kB / 0.8575 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003319/1.166, allocations: 1.19 MB / 0.8587 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.551e-05/1.166, allocations: 93.09 kB / 0.8588 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.166, allocations: 8 kB / 0.8588 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/1.167, allocations: 104.3 kB / 0.8589 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.168, allocations: 265 kB / 0.8591 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/1.17, allocations: 1.56 MB / 0.8607 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.172, allocations: 129.1 kB / 0.8608 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/1.172, allocations: 55.03 kB / 0.8608 GB, free: 15.36 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.0006754/1.173, allocations: 283.4 kB / 0.8611 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/1.173, allocations: 79.09 kB / 0.8612 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/1.179, allocations: 1.461 MB / 0.8626 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.179, allocations: 8 kB / 0.8626 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.781e-06/1.179, allocations: 4 kB / 0.8626 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.179, allocations: 3.984 kB / 0.8626 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/1.184, allocations: 2.361 MB / 0.8649 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.603e-06/1.184, allocations: 0 / 0.8649 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/1.185, allocations: 133.8 kB / 0.8651 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/1.188, allocations: 0.5402 MB / 0.8656 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/1.188, allocations: 37.14 kB / 0.8656 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/1.19, allocations: 0.8689 MB / 0.8665 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.071e-06/1.19, allocations: 0 / 0.8665 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/1.193, allocations: 1.575 MB / 0.868 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/1.194, allocations: 258.9 kB / 0.8682 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/1.194, allocations: 24.31 kB / 0.8683 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/1.195, allocations: 46.67 kB / 0.8683 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.195, allocations: 71.52 kB / 0.8684 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.196, allocations: 35.16 kB / 0.8684 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007942/1.196, allocations: 440.4 kB / 0.8688 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.19e-07/1.196, allocations: 0 / 0.8688 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001536/1.198, allocations: 386.5 kB / 0.8692 GB, free: 8.434 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.001131/1.199, allocations: 431.5 kB / 0.8696 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.202, allocations: 1.104 MB / 0.8707 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.534e-06/1.202, allocations: 4 kB / 0.8707 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/1.203, allocations: 0.632 MB / 0.8713 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.205, allocations: 129.2 kB / 0.8714 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/1.211, allocations: 1.77 MB / 0.8732 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008853/1.212, allocations: 1.042 MB / 0.8742 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008497/1.212, allocations: 126.4 kB / 0.8743 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.213, allocations: 91.12 kB / 0.8744 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of SimCode: time 1.609e-06/1.213, allocations: 0 / 0.8744 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of Templates: time 0.03508/1.248, allocations: 13.08 MB / 0.8872 GB, free: 6.793 MB / 0.6823 GB