Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_WeatherData_OneYear,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_WeatherData_OneYear") 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.86/3.86, allocations: 451.8 MB / 464 MB, free: 8.051 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.477e-05/5.485e-05, allocations: 8 kB / 0.5571 GB, free: 15.45 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1788, allocations: 103.7 MB / 0.6584 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.264/6.442, allocations: 2.2 GB / 2.859 GB, free: 139 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/6.443, allocations: 72.97 kB / 2.859 GB, free: 139 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2951/6.738, allocations: 83.04 MB / 2.94 GB, free: 63.33 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.8e-06/6.738, allocations: 0 / 2.94 GB, free: 63.33 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001462/6.738, allocations: 48 kB / 2.94 GB, free: 63.28 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 554 * Number of variables: 554 Notification: Performance of Generate backend data structure: time 0.006489/6.744, allocations: 2.238 MB / 2.942 GB, free: 60.97 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/6.745, allocations: 8.031 kB / 2.942 GB, free: 60.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/6.756, allocations: 1.179 MB / 2.943 GB, free: 59.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/6.759, allocations: 1.119 MB / 2.944 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/6.759, allocations: 160.3 kB / 2.944 GB, free: 58.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005677/6.76, allocations: 212 kB / 2.945 GB, free: 58.24 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00706/6.767, allocations: 2.381 MB / 2.947 GB, free: 55.76 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/6.767, allocations: 0 / 2.947 GB, free: 55.76 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/6.767, allocations: 92 kB / 2.947 GB, free: 55.67 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/6.768, allocations: 56 kB / 2.947 GB, free: 55.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007652/6.775, allocations: 2.643 MB / 2.95 GB, free: 52.96 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/6.798, allocations: 8.703 MB / 2.958 GB, free: 44 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005553/6.804, allocations: 2.8 MB / 2.961 GB, free: 40.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/6.806, allocations: 0.7997 MB / 2.962 GB, free: 40.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008384/6.807, allocations: 0.5584 MB / 2.962 GB, free: 39.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002317/6.81, allocations: 1.067 MB / 2.963 GB, free: 38.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=172): time 6.135e-06/6.81, allocations: 0 / 2.963 GB, free: 38.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=172): time 0.004988/6.815, allocations: 1.804 MB / 2.965 GB, free: 36.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/6.815, allocations: 385.8 kB / 2.965 GB, free: 36.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/6.818, allocations: 1.076 MB / 2.966 GB, free: 35.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000537/6.818, allocations: 57.7 kB / 2.966 GB, free: 34.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/6.819, allocations: 0.8812 MB / 2.967 GB, free: 34.06 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007545/6.82, allocations: 0.5583 MB / 2.968 GB, free: 33.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/6.82, allocations: 36 kB / 2.968 GB, free: 33.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001444/6.821, allocations: 377.8 kB / 2.968 GB, free: 33.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/6.822, allocations: 0.664 MB / 2.969 GB, free: 32.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/6.824, allocations: 1.029 MB / 2.97 GB, free: 31.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/6.826, allocations: 0.8312 MB / 2.971 GB, free: 30.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.712e-06/6.826, allocations: 4 kB / 2.971 GB, free: 30.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006597/6.833, allocations: 2.097 MB / 2.973 GB, free: 28.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/6.833, allocations: 63.41 kB / 2.973 GB, free: 28.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/6.833, allocations: 8 kB / 2.973 GB, free: 28.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/6.834, allocations: 96.78 kB / 2.973 GB, free: 28.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/6.837, allocations: 0.5033 MB / 2.973 GB, free: 27.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/6.839, allocations: 1.561 MB / 2.975 GB, free: 25.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/6.843, allocations: 270.3 kB / 2.975 GB, free: 25.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004833/6.843, allocations: 95.98 kB / 2.975 GB, free: 25.55 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.mpTracker.vRef,mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 2 * 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.0005867/6.844, allocations: 286.1 kB / 2.976 GB, free: 25.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/6.844, allocations: 166 kB / 2.976 GB, free: 25.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006312/6.851, allocations: 2.303 MB / 2.978 GB, free: 22.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/6.851, allocations: 23.94 kB / 2.978 GB, free: 22.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/6.851, allocations: 0 / 2.978 GB, free: 22.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/6.851, allocations: 11.95 kB / 2.978 GB, free: 22.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/6.866, allocations: 4.884 MB / 2.983 GB, free: 17.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/6.866, allocations: 7.875 kB / 2.983 GB, free: 17.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003401/6.869, allocations: 371.5 kB / 2.983 GB, free: 17.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002814/6.872, allocations: 0.5411 MB / 2.984 GB, free: 16.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004238/6.872, allocations: 63.89 kB / 2.984 GB, free: 16.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/6.873, allocations: 0.8702 MB / 2.985 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.884e-06/6.874, allocations: 0 / 2.985 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/6.885, allocations: 3.312 MB / 2.988 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/6.886, allocations: 0.5217 MB / 2.988 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/6.887, allocations: 36 kB / 2.988 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/6.89, allocations: 171.8 kB / 2.988 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/6.89, allocations: 113.8 kB / 2.989 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002795/6.891, allocations: 79.88 kB / 2.989 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001614/6.892, allocations: 0.8391 MB / 2.989 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.4e-07/6.892, allocations: 0 / 2.989 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003383/6.896, allocations: 0.7011 MB / 2.99 GB, free: 10.03 MB / 0.8542 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: 13 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,weaDat.conTim1.tNext,weaDat.conTim.tNext,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger,weaDat.conTim1.tNext,weaDat.conTim.tNext,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.002603/6.898, allocations: 0.835 MB / 2.991 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005405/6.904, allocations: 1.958 MB / 2.993 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/6.904, allocations: 7.938 kB / 2.993 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004897/6.909, allocations: 1.022 MB / 2.994 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/6.913, allocations: 291.1 kB / 2.994 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/6.924, allocations: 3.354 MB / 2.997 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/6.925, allocations: 1.457 MB / 2.999 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00412/6.93, allocations: 440.4 kB / 2.999 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/6.931, allocations: 187.3 kB / 2.999 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of SimCode: time 2.102e-06/6.931, allocations: 0 / 2.999 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of Templates: time 0.6566/7.587, allocations: 25.91 MB / 3.025 GB, free: 251.6 MB / 0.8542 GB