Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") Notification: Performance of loadModel(PhotoVoltaics): time 2.049/2.049, allocations: 211.3 MB / 223.4 MB, free: 3.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.07e-05, allocations: 11.98 kB / 277.6 MB, free: 14.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08399, allocations: 48.77 MB / 326.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5248, allocations: 87.4 MB / 413.7 MB, free: 2.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.525, allocations: 68.22 kB / 413.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09106/0.6161, allocations: 20.89 MB / 434.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.758e-06/0.6162, allocations: 0 / 434.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.683e-05/0.6162, allocations: 12 kB / 434.7 MB, free: 0.668 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002588/0.6188, allocations: 1.01 MB / 435.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6189, allocations: 8.031 kB / 435.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.6192, allocations: 90.97 kB / 435.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.6203, allocations: 495.5 kB / 436.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.6204, allocations: 59.31 kB / 436.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.6206, allocations: 69.81 kB / 436.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.6224, allocations: 0.7662 MB / 437.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.6224, allocations: 0 / 437.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6226, allocations: 28.75 kB / 437.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.6226, allocations: 20 kB / 437.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.6243, allocations: 0.6296 MB / 437.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007836/0.6322, allocations: 2.892 MB / 440.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.6353, allocations: 0.9087 MB / 441.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.6364, allocations: 245.7 kB / 441.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.6367, allocations: 89.53 kB / 442 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/0.6381, allocations: 430.3 kB / 442.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 6.909e-06/0.6382, allocations: 0 / 442.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.007747/0.6459, allocations: 0.9561 MB / 443.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.6462, allocations: 225.3 kB / 443.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.6477, allocations: 446.1 kB / 444 MB, free: 8.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.648, allocations: 39.14 kB / 444.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.6485, allocations: 364.1 kB / 444.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/0.649, allocations: 193.7 kB / 444.6 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.6491, allocations: 12.81 kB / 444.6 MB, free: 8.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.6494, allocations: 372.1 kB / 445 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.6505, allocations: 213.4 kB / 445.2 MB, free: 7.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.6517, allocations: 364.8 kB / 445.6 MB, free: 7.621 MB / 362.7 MB 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.02689/0.6787, allocations: 2.093 MB / 447.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.6787, allocations: 0 / 447.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002497/0.6812, allocations: 0.8192 MB / 448.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.6813, allocations: 70.48 kB / 448.5 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.6814, allocations: 4 kB / 448.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.682, allocations: 100.9 kB / 448.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6832, allocations: 182.8 kB / 448.8 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.6855, allocations: 1.547 MB / 450.4 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.6865, allocations: 69.05 kB / 450.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.6867, allocations: 38.39 kB / 450.5 MB, free: 3.035 MB / 362.7 MB 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: 19 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$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,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.0003674/0.6871, allocations: 232.8 kB / 450.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.6873, allocations: 63.2 kB / 450.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004993/0.6923, allocations: 1.194 MB / 452 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.6924, allocations: 11.98 kB / 452 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6924, allocations: 4 kB / 452 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.6924, allocations: 3.984 kB / 452 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.6965, allocations: 1.828 MB / 453.8 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6966, allocations: 3.953 kB / 453.8 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.6973, allocations: 107 kB / 453.9 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.7003, allocations: 0.5424 MB / 454.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.7004, allocations: 21.86 kB / 454.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.7018, allocations: 0.8644 MB / 455.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.513e-06/0.7019, allocations: 0 / 455.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.7049, allocations: 1.231 MB / 456.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.7055, allocations: 204.2 kB / 456.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.7057, allocations: 28 kB / 456.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.7065, allocations: 43.92 kB / 456.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.7067, allocations: 48.5 kB / 456.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.7068, allocations: 27.97 kB / 456.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007177/0.7075, allocations: 357.6 kB / 457.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.86e-07/0.7075, allocations: 0 / 457.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001148/0.7087, allocations: 267.2 kB / 457.5 MB, free: 12.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.integrator.y,battery.energy,battery.capacitor.v) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 13 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.000456/0.7091, allocations: 203 kB / 457.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.7112, allocations: 0.8055 MB / 458.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.537e-06/0.7112, allocations: 0 / 458.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.7123, allocations: 488.9 kB / 459 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.7132, allocations: 111.7 kB / 459.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.716, allocations: 0.9958 MB / 460.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/0.7167, allocations: 0.9459 MB / 461.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006102/0.7174, allocations: 80.89 kB / 461.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.7177, allocations: 71.38 kB / 461.2 MB, free: 9.098 MB / 378.7 MB Notification: Performance of SimCode: time 2.096e-06/0.7177, allocations: 4 kB / 461.2 MB, free: 9.094 MB / 378.7 MB Notification: Performance of Templates: time 0.02662/0.7443, allocations: 10.09 MB / 471.3 MB, free: 15.04 MB / 394.7 MB