Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") 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 4.202/4.202, allocations: 451.8 MB / 464 MB, free: 8.039 MB / 378.7 MB 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 7.808e-05/7.832e-05, allocations: 8 kB / 0.5596 GB, free: 12.99 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1918, allocations: 103.7 MB / 0.6608 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7286/0.9204, allocations: 148.4 MB / 0.8057 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.9206, allocations: 62.95 kB / 0.8058 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1429/1.064, allocations: 36.05 MB / 0.841 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.982e-06/1.064, allocations: 3.938 kB / 0.841 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.426e-05/1.064, allocations: 24 kB / 0.841 GB, free: 0.668 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.003848/1.068, allocations: 1.351 MB / 0.8423 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.068, allocations: 8.031 kB / 0.8424 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/1.071, allocations: 376.6 kB / 0.8427 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/1.072, allocations: 0.5941 MB / 0.8433 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/1.072, allocations: 84.33 kB / 0.8434 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/1.073, allocations: 118.2 kB / 0.8435 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/1.076, allocations: 1.162 MB / 0.8446 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/1.076, allocations: 4 kB / 0.8446 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/1.076, allocations: 46 kB / 0.8447 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/1.076, allocations: 28 kB / 0.8447 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/1.079, allocations: 1.063 MB / 0.8457 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/1.09, allocations: 4.816 MB / 0.8504 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/1.093, allocations: 1.774 MB / 0.8522 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/1.094, allocations: 343 kB / 0.8525 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/1.094, allocations: 174.7 kB / 0.8527 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/1.095, allocations: 0.5287 MB / 0.8532 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 4.365e-06/1.095, allocations: 0 / 0.8532 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.0049/1.1, allocations: 1.172 MB / 0.8543 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/1.1, allocations: 306.9 kB / 0.8546 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/1.102, allocations: 0.5523 MB / 0.8552 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/1.102, allocations: 43.55 kB / 0.8552 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/1.102, allocations: 0.5059 MB / 0.8557 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/1.103, allocations: 260.8 kB / 0.8559 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/1.103, allocations: 21.88 kB / 0.856 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002424/1.103, allocations: 387.2 kB / 0.8563 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008048/1.104, allocations: 314 kB / 0.8566 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.105, allocations: 0.5759 MB / 0.8572 GB, free: 2.809 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.02026/1.125, allocations: 2.803 MB / 0.8599 GB, free: 304 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/1.125, allocations: 4 kB / 0.8599 GB, free: 300 kB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003219/1.129, allocations: 1.188 MB / 0.8611 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/1.129, allocations: 98.53 kB / 0.8612 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.129, allocations: 8 kB / 0.8612 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/1.129, allocations: 100.1 kB / 0.8613 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.131, allocations: 272.4 kB / 0.8616 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/1.133, allocations: 1.566 MB / 0.8631 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.134, allocations: 115.8 kB / 0.8632 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.135, allocations: 62.33 kB / 0.8633 GB, free: 13.12 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.0004211/1.135, allocations: 284.1 kB / 0.8635 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/1.135, allocations: 79.25 kB / 0.8636 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007766/1.143, allocations: 1.459 MB / 0.865 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.143, allocations: 8 kB / 0.865 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.301e-06/1.143, allocations: 0 / 0.865 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/1.143, allocations: 7.984 kB / 0.865 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008682/1.152, allocations: 2.358 MB / 0.8673 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.152, allocations: 0 / 0.8673 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.153, allocations: 142.5 kB / 0.8675 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/1.157, allocations: 0.5393 MB / 0.868 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.157, allocations: 29.59 kB / 0.868 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/1.158, allocations: 0.8804 MB / 0.8689 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.751e-06/1.158, allocations: 0 / 0.8689 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/1.162, allocations: 1.571 MB / 0.8704 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/1.162, allocations: 254.2 kB / 0.8707 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.163, allocations: 25.75 kB / 0.8707 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/1.163, allocations: 50.16 kB / 0.8707 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.164, allocations: 70.2 kB / 0.8708 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.164, allocations: 38.41 kB / 0.8708 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008193/1.165, allocations: 436.4 kB / 0.8713 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.98e-07/1.165, allocations: 0 / 0.8713 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001491/1.166, allocations: 390.2 kB / 0.8716 GB, free: 6.184 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 (writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger,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 (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.001059/1.167, allocations: 426.8 kB / 0.872 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.17, allocations: 1.109 MB / 0.8731 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.691e-06/1.17, allocations: 0 / 0.8731 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.171, allocations: 0.6252 MB / 0.8737 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/1.172, allocations: 123.8 kB / 0.8739 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/1.179, allocations: 1.784 MB / 0.8756 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/1.18, allocations: 1.042 MB / 0.8766 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008859/1.18, allocations: 122.4 kB / 0.8767 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.181, allocations: 86.75 kB / 0.8768 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of SimCode: time 1.995e-06/1.181, allocations: 3.938 kB / 0.8768 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of Templates: time 0.03595/1.217, allocations: 13.06 MB / 0.8896 GB, free: 4.555 MB / 0.6823 GB