Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") 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.867/3.867, allocations: 451.8 MB / 464 MB, free: 7.996 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.833e-05/4.848e-05, allocations: 4 kB / 0.5571 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1812, allocations: 103.7 MB / 0.6584 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.719/0.9003, allocations: 148.4 MB / 0.8033 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.9005, allocations: 64.78 kB / 0.8034 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1356/1.036, allocations: 36.07 MB / 0.8386 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.169e-06/1.036, allocations: 0 / 0.8386 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.383e-05/1.036, allocations: 20 kB / 0.8386 GB, free: 2.789 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.003714/1.04, allocations: 1.343 MB / 0.8399 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.04, allocations: 12.03 kB / 0.8399 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/1.043, allocations: 373.4 kB / 0.8403 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/1.044, allocations: 0.5966 MB / 0.8409 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/1.045, allocations: 83.45 kB / 0.841 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/1.045, allocations: 115.5 kB / 0.8411 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/1.048, allocations: 1.161 MB / 0.8422 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/1.048, allocations: 4 kB / 0.8422 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/1.048, allocations: 52.38 kB / 0.8423 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/1.048, allocations: 24 kB / 0.8423 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/1.051, allocations: 1.063 MB / 0.8433 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009786/1.06, allocations: 4.819 MB / 0.848 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/1.063, allocations: 1.776 MB / 0.8498 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/1.064, allocations: 331.7 kB / 0.8501 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/1.064, allocations: 178.2 kB / 0.8502 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009846/1.065, allocations: 0.5271 MB / 0.8508 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 4.094e-06/1.065, allocations: 0 / 0.8508 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.004788/1.07, allocations: 1.171 MB / 0.8519 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/1.07, allocations: 311.4 kB / 0.8522 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.072, allocations: 0.5558 MB / 0.8527 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.072, allocations: 40.45 kB / 0.8528 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/1.072, allocations: 0.5009 MB / 0.8533 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/1.072, allocations: 262.2 kB / 0.8535 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/1.073, allocations: 21.12 kB / 0.8535 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002245/1.073, allocations: 385.3 kB / 0.8539 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/1.074, allocations: 315.4 kB / 0.8542 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.075, allocations: 0.5788 MB / 0.8548 GB, free: 4.93 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.0194/1.094, allocations: 2.81 MB / 0.8575 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.094, allocations: 4 kB / 0.8575 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00311/1.097, allocations: 1.192 MB / 0.8587 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.681e-05/1.097, allocations: 96.78 kB / 0.8588 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/1.097, allocations: 8 kB / 0.8588 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/1.098, allocations: 96.59 kB / 0.8589 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.1, allocations: 266.6 kB / 0.8591 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/1.102, allocations: 1.558 MB / 0.8606 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.103, allocations: 116.9 kB / 0.8608 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/1.103, allocations: 63.2 kB / 0.8608 GB, free: 15.25 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.0004199/1.104, allocations: 294.5 kB / 0.8611 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.104, allocations: 75.16 kB / 0.8612 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/1.109, allocations: 1.454 MB / 0.8626 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.109, allocations: 8 kB / 0.8626 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.109, allocations: 0 / 0.8626 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/1.109, allocations: 11.97 kB / 0.8626 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/1.114, allocations: 2.364 MB / 0.8649 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.114, allocations: 0 / 0.8649 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/1.115, allocations: 141.7 kB / 0.8651 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/1.118, allocations: 0.5363 MB / 0.8656 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.118, allocations: 38.11 kB / 0.8656 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/1.119, allocations: 0.8688 MB / 0.8665 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.031e-06/1.119, allocations: 0 / 0.8665 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/1.123, allocations: 1.578 MB / 0.868 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/1.124, allocations: 254.4 kB / 0.8682 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.124, allocations: 27.69 kB / 0.8683 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/1.125, allocations: 49.72 kB / 0.8683 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.125, allocations: 66.58 kB / 0.8684 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.125, allocations: 35.03 kB / 0.8684 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00078/1.126, allocations: 441.5 kB / 0.8688 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.91e-07/1.126, allocations: 0 / 0.8688 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001475/1.127, allocations: 388.4 kB / 0.8692 GB, free: 8.305 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.001046/1.128, allocations: 430.1 kB / 0.8696 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00237/1.131, allocations: 1.096 MB / 0.8707 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.131, allocations: 64 / 0.8707 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.132, allocations: 0.6365 MB / 0.8713 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/1.133, allocations: 118.9 kB / 0.8714 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005603/1.138, allocations: 1.78 MB / 0.8732 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/1.139, allocations: 1.046 MB / 0.8742 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008009/1.14, allocations: 122.4 kB / 0.8743 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/1.141, allocations: 86.81 kB / 0.8744 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of SimCode: time 1.672e-06/1.141, allocations: 0 / 0.8744 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of Templates: time 0.03427/1.175, allocations: 13.08 MB / 0.8872 GB, free: 6.664 MB / 0.6823 GB