Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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.869/3.869, allocations: 451.8 MB / 464 MB, free: 8.039 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.674e-05/4.691e-05, allocations: 4 kB / 0.5571 GB, free: 15.46 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.178, allocations: 103.7 MB / 0.6584 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7115/0.8896, allocations: 148.4 MB / 0.8033 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001511/0.8897, allocations: 65.59 kB / 0.8034 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.133/1.023, allocations: 36.07 MB / 0.8386 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.069e-06/1.023, allocations: 0 / 0.8386 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.392e-05/1.023, allocations: 20 kB / 0.8386 GB, free: 2.898 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.003723/1.027, allocations: 1.347 MB / 0.8399 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.027, allocations: 8.031 kB / 0.8399 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/1.03, allocations: 375.5 kB / 0.8403 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/1.031, allocations: 0.5978 MB / 0.8409 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/1.031, allocations: 81.52 kB / 0.841 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/1.031, allocations: 113.2 kB / 0.8411 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/1.034, allocations: 1.166 MB / 0.8422 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/1.034, allocations: 0 / 0.8422 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.034, allocations: 45.31 kB / 0.8423 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/1.034, allocations: 24 kB / 0.8423 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/1.037, allocations: 1.068 MB / 0.8433 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009822/1.047, allocations: 4.82 MB / 0.848 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/1.05, allocations: 1.767 MB / 0.8497 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007939/1.051, allocations: 339 kB / 0.8501 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/1.051, allocations: 182.5 kB / 0.8502 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/1.052, allocations: 0.5235 MB / 0.8508 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.649e-06/1.052, allocations: 0 / 0.8508 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.004894/1.057, allocations: 1.177 MB / 0.8519 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/1.057, allocations: 305.8 kB / 0.8522 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.059, allocations: 0.5519 MB / 0.8527 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.059, allocations: 43.95 kB / 0.8528 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/1.059, allocations: 0.4979 MB / 0.8533 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.06, allocations: 261.7 kB / 0.8535 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/1.06, allocations: 25.47 kB / 0.8535 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002287/1.06, allocations: 393.4 kB / 0.8539 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/1.061, allocations: 305.6 kB / 0.8542 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.062, allocations: 0.5848 MB / 0.8548 GB, free: 5.031 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.01956/1.081, allocations: 2.803 MB / 0.8575 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.081, allocations: 0 / 0.8575 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003128/1.084, allocations: 1.198 MB / 0.8587 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/1.085, allocations: 85.11 kB / 0.8588 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/1.085, allocations: 12 kB / 0.8588 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.085, allocations: 104 kB / 0.8589 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.087, allocations: 262.2 kB / 0.8591 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/1.089, allocations: 1.565 MB / 0.8607 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.09, allocations: 123.7 kB / 0.8608 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/1.091, allocations: 62.27 kB / 0.8608 GB, free: 15.35 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.0004484/1.091, allocations: 280.7 kB / 0.8611 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/1.091, allocations: 75.16 kB / 0.8612 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/1.097, allocations: 1.459 MB / 0.8626 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/1.097, allocations: 12 kB / 0.8626 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-06/1.097, allocations: 0 / 0.8626 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/1.097, allocations: 3.984 kB / 0.8626 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/1.102, allocations: 2.363 MB / 0.8649 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.103, allocations: 4 kB / 0.8649 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/1.103, allocations: 134.2 kB / 0.8651 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/1.106, allocations: 0.5409 MB / 0.8656 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.106, allocations: 35.05 kB / 0.8656 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/1.108, allocations: 0.8655 MB / 0.8665 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-06/1.108, allocations: 4.031 kB / 0.8665 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/1.111, allocations: 1.571 MB / 0.868 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/1.112, allocations: 262.3 kB / 0.8682 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.112, allocations: 21.44 kB / 0.8683 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/1.113, allocations: 50.28 kB / 0.8683 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.113, allocations: 62.97 kB / 0.8684 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.113, allocations: 46.52 kB / 0.8684 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000802/1.114, allocations: 433.4 kB / 0.8688 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.04e-07/1.114, allocations: 0 / 0.8688 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001534/1.116, allocations: 392.8 kB / 0.8692 GB, free: 8.418 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.001072/1.117, allocations: 427.2 kB / 0.8696 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002471/1.119, allocations: 1.099 MB / 0.8707 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.97e-06/1.119, allocations: 0 / 0.8707 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.121, allocations: 0.6373 MB / 0.8713 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/1.122, allocations: 116.9 kB / 0.8714 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/1.127, allocations: 1.783 MB / 0.8732 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009061/1.128, allocations: 1.042 MB / 0.8742 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008689/1.129, allocations: 118.5 kB / 0.8743 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/1.13, allocations: 87.56 kB / 0.8744 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of SimCode: time 1.826e-06/1.13, allocations: 0 / 0.8744 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of Templates: time 0.03531/1.165, allocations: 13.09 MB / 0.8872 GB, free: 6.781 MB / 0.6823 GB