Running command: translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") Notification: Performance of loadModel(PhotoVoltaics): time 1.94/1.94, allocations: 211.3 MB / 223.4 MB, free: 3.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.055e-05, allocations: 4 kB / 275.1 MB, free: 0.6719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.76 MB / 323.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.4923, allocations: 77.62 MB / 401.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001684/0.4925, allocations: 62.22 kB / 401.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02371/0.5162, allocations: 5.074 MB / 406.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.07e-06/0.5162, allocations: 4 kB / 406.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5163, allocations: 0 / 406.6 MB, free: 10.03 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008404/0.5171, allocations: 437.6 kB / 407 MB, free: 9.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5172, allocations: 16.02 kB / 407 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.5173, allocations: 7.906 kB / 407.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5176, allocations: 212.5 kB / 407.3 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.5176, allocations: 11.17 kB / 407.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.5177, allocations: 11 kB / 407.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.518, allocations: 173.7 kB / 407.5 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5181, allocations: 0 / 407.5 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.5181, allocations: 3.938 kB / 407.5 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.114e-06/0.5181, allocations: 4 kB / 407.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.5184, allocations: 112.5 kB / 407.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.5195, allocations: 0.5986 MB / 408.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.5202, allocations: 185.8 kB / 408.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5204, allocations: 76.47 kB / 408.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.5206, allocations: 93.08 kB / 408.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.521, allocations: 198.3 kB / 408.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 3.575e-06/0.521, allocations: 0 / 408.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006538/0.5216, allocations: 254.7 kB / 409 MB, free: 7.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.5218, allocations: 136.5 kB / 409.1 MB, free: 7.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.5219, allocations: 113.8 kB / 409.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.522, allocations: 37.58 kB / 409.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.5221, allocations: 104.2 kB / 409.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/0.5222, allocations: 74.56 kB / 409.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.5222, allocations: 7 kB / 409.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5224, allocations: 325 kB / 409.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5226, allocations: 66.48 kB / 409.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.5228, allocations: 112.1 kB / 409.9 MB, free: 6.812 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) (0.1591549430918953 * $START.irradiance.Jprime * /*Real*/(PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.005439/0.5283, allocations: 0.6245 MB / 410.5 MB, free: 6.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-06/0.5283, allocations: 4 kB / 410.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007015/0.529, allocations: 279.3 kB / 410.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.5291, allocations: 39.41 kB / 410.9 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.172e-06/0.5291, allocations: 0 / 410.9 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5291, allocations: 7.953 kB / 410.9 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.5296, allocations: 59.31 kB / 410.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.5297, allocations: 7.938 kB / 410.9 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.5299, allocations: 19.52 kB / 410.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.53, allocations: 16.11 kB / 411 MB, free: 5.832 MB / 330.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: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.irradiance.year,irradiance.year,$whenCondition1,$whenCondition2,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.5302, allocations: 160.7 kB / 411.1 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.5303, allocations: 23.75 kB / 411.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.5314, allocations: 436 kB / 411.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.5314, allocations: 7.953 kB / 411.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-06/0.5314, allocations: 4 kB / 411.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5315, allocations: 4 kB / 411.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.5319, allocations: 299.5 kB / 411.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-06/0.5319, allocations: 4 kB / 411.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.5323, allocations: 59.64 kB / 411.9 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.5324, allocations: 4 kB / 411.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.5324, allocations: 11.36 kB / 412 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.416e-06/0.5324, allocations: 0 / 412 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.644e-06/0.5324, allocations: 3.953 kB / 412 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.5335, allocations: 465 kB / 412.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5336, allocations: 112 kB / 412.5 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.5337, allocations: 7.938 kB / 412.5 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.5339, allocations: 7.188 kB / 412.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.534, allocations: 39.7 kB / 412.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.5341, allocations: 15.95 kB / 412.6 MB, free: 4.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.5342, allocations: 108.5 kB / 412.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.5342, allocations: 0 / 412.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.5347, allocations: 86.42 kB / 412.8 MB, free: 4.195 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 6 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition2,irradiance.dayOfYear,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.535, allocations: 143.5 kB / 412.9 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006188/0.5356, allocations: 260.8 kB / 413.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.262e-06/0.5356, allocations: 4 kB / 413.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.536, allocations: 220.1 kB / 413.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5363, allocations: 27.61 kB / 413.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.5372, allocations: 318.5 kB / 413.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.5376, allocations: 0.7404 MB / 414.5 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.5379, allocations: 38.03 kB / 414.5 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.538, allocations: 38.78 kB / 414.5 MB, free: 2.516 MB / 330.7 MB Notification: Performance of SimCode: time 1.765e-06/0.538, allocations: 4 kB / 414.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of Templates: time 0.008966/0.547, allocations: 2.94 MB / 417.5 MB, free: 15.59 MB / 346.7 MB