Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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 3.866/3.866, 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 5.725e-05/5.765e-05, allocations: 15.98 kB / 0.5571 GB, free: 15.45 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1818, allocations: 103.7 MB / 0.6584 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7221/0.9039, allocations: 148.4 MB / 0.8033 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.9042, allocations: 64.45 kB / 0.8034 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1356/1.04, allocations: 36.07 MB / 0.8386 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.586e-06/1.04, allocations: 4 kB / 0.8386 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.43e-05/1.04, allocations: 16 kB / 0.8386 GB, free: 2.84 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.003899/1.044, allocations: 1.352 MB / 0.8399 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.044, allocations: 8.031 kB / 0.8399 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/1.047, allocations: 374.8 kB / 0.8403 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/1.049, allocations: 0.5978 MB / 0.8409 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.049, allocations: 82.58 kB / 0.841 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/1.049, allocations: 111 kB / 0.8411 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/1.052, allocations: 1.165 MB / 0.8422 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/1.052, allocations: 0 / 0.8422 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/1.052, allocations: 47.5 kB / 0.8423 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/1.052, allocations: 28 kB / 0.8423 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/1.055, allocations: 1.065 MB / 0.8433 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009984/1.065, allocations: 4.818 MB / 0.848 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/1.068, allocations: 1.773 MB / 0.8498 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/1.069, allocations: 336 kB / 0.8501 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/1.069, allocations: 178.1 kB / 0.8502 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/1.07, allocations: 0.5222 MB / 0.8508 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.916e-06/1.07, allocations: 0 / 0.8508 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.004831/1.075, allocations: 1.176 MB / 0.8519 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/1.075, allocations: 306.1 kB / 0.8522 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.076, allocations: 0.5531 MB / 0.8527 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.076, allocations: 43.27 kB / 0.8528 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/1.077, allocations: 0.5015 MB / 0.8533 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/1.077, allocations: 261.1 kB / 0.8535 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/1.077, allocations: 23.25 kB / 0.8535 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.078, allocations: 391.3 kB / 0.8539 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000793/1.078, allocations: 314.6 kB / 0.8542 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.079, allocations: 0.5796 MB / 0.8548 GB, free: 4.973 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.01927/1.099, allocations: 2.805 MB / 0.8575 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.099, allocations: 4 kB / 0.8575 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003183/1.102, allocations: 1.192 MB / 0.8587 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/1.102, allocations: 89.11 kB / 0.8588 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.102, allocations: 8 kB / 0.8588 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/1.103, allocations: 99.42 kB / 0.8589 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.104, allocations: 271.1 kB / 0.8591 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.106, allocations: 1.56 MB / 0.8607 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.108, allocations: 118.8 kB / 0.8608 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/1.108, allocations: 67.42 kB / 0.8608 GB, free: 15.29 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.0004175/1.108, allocations: 283.2 kB / 0.8611 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.108, allocations: 75.16 kB / 0.8612 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/1.114, allocations: 1.461 MB / 0.8626 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.114, allocations: 8 kB / 0.8626 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-06/1.114, allocations: 0 / 0.8626 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.114, allocations: 3.984 kB / 0.8626 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/1.119, allocations: 2.366 MB / 0.8649 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.74e-06/1.119, allocations: 0 / 0.8649 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/1.12, allocations: 139 kB / 0.8651 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/1.123, allocations: 0.5412 MB / 0.8656 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.123, allocations: 37.55 kB / 0.8656 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/1.124, allocations: 0.8672 MB / 0.8665 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.033e-06/1.124, allocations: 0 / 0.8665 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/1.128, allocations: 1.572 MB / 0.868 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/1.128, allocations: 258.5 kB / 0.8682 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/1.128, allocations: 24.12 kB / 0.8683 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/1.129, allocations: 50.16 kB / 0.8683 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.129, allocations: 57.66 kB / 0.8684 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.13, allocations: 41.97 kB / 0.8684 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007857/1.13, allocations: 441 kB / 0.8688 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.02e-07/1.13, allocations: 0 / 0.8688 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001483/1.132, allocations: 388.2 kB / 0.8692 GB, free: 8.363 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.001057/1.133, allocations: 434.1 kB / 0.8696 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002419/1.135, allocations: 1.103 MB / 0.8707 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.135, allocations: 0 / 0.8707 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.137, allocations: 0.6357 MB / 0.8713 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/1.138, allocations: 115.4 kB / 0.8714 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/1.143, allocations: 1.781 MB / 0.8732 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/1.144, allocations: 1.046 MB / 0.8742 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008489/1.145, allocations: 126.4 kB / 0.8743 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.145, allocations: 87 kB / 0.8744 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of SimCode: time 1.86e-06/1.145, allocations: 0 / 0.8744 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of Templates: time 0.03458/1.18, allocations: 13.07 MB / 0.8872 GB, free: 6.723 MB / 0.6823 GB