Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_WeatherData_OneYear,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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.966/3.966, allocations: 451.8 MB / 464 MB, free: 8.031 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.641e-05/4.656e-05, allocations: 11.98 kB / 0.5571 GB, free: 15.45 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1799, allocations: 103.7 MB / 0.6584 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.009/6.189, allocations: 2.2 GB / 2.858 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/6.189, allocations: 72.47 kB / 2.859 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.292/6.481, allocations: 83.02 MB / 2.94 GB, free: 63.73 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.049e-06/6.481, allocations: 0 / 2.94 GB, free: 63.73 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001312/6.481, allocations: 51.94 kB / 2.94 GB, free: 63.68 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.005673/6.487, allocations: 2.235 MB / 2.942 GB, free: 61.37 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/6.487, allocations: 8.031 kB / 2.942 GB, free: 61.36 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/6.497, allocations: 1.168 MB / 2.943 GB, free: 60.19 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/6.5, allocations: 1.119 MB / 2.944 GB, free: 59.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/6.5, allocations: 168.3 kB / 2.944 GB, free: 58.85 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006423/6.501, allocations: 212 kB / 2.944 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009992/6.511, allocations: 2.377 MB / 2.947 GB, free: 56.16 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/6.511, allocations: 0 / 2.947 GB, free: 56.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005856/6.512, allocations: 96 kB / 2.947 GB, free: 56.07 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/6.512, allocations: 52 kB / 2.947 GB, free: 56.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/6.524, allocations: 2.639 MB / 2.949 GB, free: 53.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/6.556, allocations: 8.711 MB / 2.958 GB, free: 44.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008246/6.565, allocations: 2.796 MB / 2.961 GB, free: 41.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/6.568, allocations: 0.8074 MB / 2.962 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/6.569, allocations: 0.5625 MB / 2.962 GB, free: 39.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003797/6.573, allocations: 1.064 MB / 2.963 GB, free: 38.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=172): time 1.12e-05/6.573, allocations: 0 / 2.963 GB, free: 38.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=172): time 0.01056/6.584, allocations: 1.804 MB / 2.965 GB, free: 36.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/6.584, allocations: 389.9 kB / 2.965 GB, free: 36.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/6.586, allocations: 1.068 MB / 2.966 GB, free: 35.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/6.586, allocations: 61.7 kB / 2.966 GB, free: 35.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000678/6.587, allocations: 0.8695 MB / 2.967 GB, free: 34.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005472/6.588, allocations: 0.5661 MB / 2.968 GB, free: 33.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/6.588, allocations: 36 kB / 2.968 GB, free: 33.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001233/6.588, allocations: 381.8 kB / 2.968 GB, free: 33.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/6.59, allocations: 0.664 MB / 2.969 GB, free: 32.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/6.591, allocations: 1.021 MB / 2.97 GB, free: 31.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/6.593, allocations: 0.8311 MB / 2.971 GB, free: 30.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/6.593, allocations: 7.984 kB / 2.971 GB, free: 30.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.005169/6.598, allocations: 2.093 MB / 2.973 GB, free: 28.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/6.599, allocations: 63.41 kB / 2.973 GB, free: 28.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/6.599, allocations: 8 kB / 2.973 GB, free: 28.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/6.599, allocations: 101.3 kB / 2.973 GB, free: 28.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/6.602, allocations: 0.5031 MB / 2.973 GB, free: 28.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/6.604, allocations: 1.565 MB / 2.975 GB, free: 26.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/6.607, allocations: 270.2 kB / 2.975 GB, free: 26.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/6.607, allocations: 99.98 kB / 2.975 GB, free: 25.95 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.0005381/6.608, allocations: 278.1 kB / 2.975 GB, free: 25.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/6.608, allocations: 162 kB / 2.976 GB, free: 25.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/6.614, allocations: 2.318 MB / 2.978 GB, free: 23.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/6.614, allocations: 16 kB / 2.978 GB, free: 23.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-06/6.614, allocations: 7.938 kB / 2.978 GB, free: 23.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/6.614, allocations: 7.969 kB / 2.978 GB, free: 23.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/6.626, allocations: 4.88 MB / 2.983 GB, free: 18.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/6.626, allocations: 4 kB / 2.983 GB, free: 18.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/6.629, allocations: 371.4 kB / 2.983 GB, free: 17.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/6.632, allocations: 0.545 MB / 2.984 GB, free: 17.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003769/6.632, allocations: 59.94 kB / 2.984 GB, free: 17.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/6.633, allocations: 0.8702 MB / 2.984 GB, free: 16.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.499e-06/6.633, allocations: 0 / 2.984 GB, free: 16.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009534/6.643, allocations: 3.312 MB / 2.988 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/6.644, allocations: 0.5217 MB / 2.988 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/6.645, allocations: 43.95 kB / 2.988 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/6.647, allocations: 167.8 kB / 2.988 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/6.647, allocations: 113.8 kB / 2.989 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/6.647, allocations: 79.86 kB / 2.989 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0015/6.649, allocations: 0.843 MB / 2.989 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.75e-07/6.649, allocations: 0 / 2.989 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002187/6.651, allocations: 0.7011 MB / 2.99 GB, free: 10.43 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.002366/6.653, allocations: 0.8399 MB / 2.991 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00412/6.658, allocations: 1.958 MB / 2.993 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/6.658, allocations: 0 / 2.993 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/6.66, allocations: 1.025 MB / 2.994 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/6.661, allocations: 281.6 kB / 2.994 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008762/6.67, allocations: 3.351 MB / 2.997 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/6.671, allocations: 1.457 MB / 2.999 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003107/6.674, allocations: 444.4 kB / 2.999 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/6.675, allocations: 191.2 kB / 2.999 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of SimCode: time 1.757e-06/6.675, allocations: 4 kB / 2.999 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of Templates: time 0.6786/7.354, allocations: 25.9 MB / 3.025 GB, free: 251.7 MB / 0.8542 GB