Running command: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.TestIrradiance,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_TestIrradiance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.185/2.185, allocations: 211.3 MB / 223.4 MB, free: 3.641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.352e-05/4.358e-05, allocations: 8 kB / 275.2 MB, free: 0.6016 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 48.77 MB / 324 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5742, allocations: 77.62 MB / 401.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5745, allocations: 65.72 kB / 401.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02813/0.6026, allocations: 5.083 MB / 406.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6027, allocations: 0 / 406.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.6027, allocations: 4 kB / 406.7 MB, free: 9.617 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.001205/0.6039, allocations: 439.8 kB / 407.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.604, allocations: 15.97 kB / 407.2 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.6041, allocations: 45.48 kB / 407.2 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.6042, allocations: 11.91 kB / 407.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.6046, allocations: 206 kB / 407.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.6046, allocations: 7.875 kB / 407.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.6047, allocations: 19.89 kB / 407.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.6052, allocations: 159.6 kB / 407.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6052, allocations: 4 kB / 407.6 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.6053, allocations: 7.75 kB / 407.6 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.6053, allocations: 4 kB / 407.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.6057, allocations: 123.4 kB / 407.7 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.607, allocations: 0.586 MB / 408.3 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/0.6081, allocations: 188.3 kB / 408.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.6084, allocations: 77.28 kB / 408.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.6086, allocations: 89.08 kB / 408.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.6091, allocations: 196.1 kB / 408.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 5.24e-06/0.6091, allocations: 4 kB / 408.9 MB, free: 7.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008178/0.6099, allocations: 256.8 kB / 409.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6101, allocations: 136.5 kB / 409.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.6102, allocations: 124.4 kB / 409.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.6103, allocations: 32.83 kB / 409.4 MB, free: 6.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.6104, allocations: 95.47 kB / 409.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.6105, allocations: 78.59 kB / 409.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.6105, allocations: 3.062 kB / 409.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6107, allocations: 333.8 kB / 409.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.6109, allocations: 65.3 kB / 410 MB, free: 6.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.6112, allocations: 108.2 kB / 410.1 MB, free: 6.352 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.009363/0.6206, allocations: 0.6303 MB / 410.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6206, allocations: 0 / 410.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008256/0.6215, allocations: 274.4 kB / 411 MB, free: 5.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.6216, allocations: 36.7 kB / 411 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.6216, allocations: 8.016 kB / 411 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.6216, allocations: 8 kB / 411 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.6224, allocations: 63.86 kB / 411.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.6224, allocations: 7.984 kB / 411.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.6228, allocations: 23.31 kB / 411.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.6229, allocations: 15.36 kB / 411.1 MB, free: 5.359 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.0002363/0.6231, allocations: 160.2 kB / 411.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.6232, allocations: 15.89 kB / 411.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.6245, allocations: 438.6 kB / 411.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6246, allocations: 7.953 kB / 411.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6246, allocations: 0 / 411.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.6246, allocations: 0 / 411.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.6251, allocations: 307.4 kB / 412 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6251, allocations: 0 / 412 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.6258, allocations: 55.91 kB / 412.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.6258, allocations: 8 kB / 412.1 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.6259, allocations: 14.92 kB / 412.1 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6259, allocations: 0 / 412.1 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6259, allocations: 3.953 kB / 412.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.6271, allocations: 465.1 kB / 412.6 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.6272, allocations: 108.7 kB / 412.7 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.6273, allocations: 11.5 kB / 412.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.6277, allocations: 11 kB / 412.7 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6278, allocations: 38.91 kB / 412.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.6279, allocations: 15.17 kB / 412.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.628, allocations: 105.5 kB / 412.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.628, allocations: 0 / 412.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005448/0.6285, allocations: 83.11 kB / 412.9 MB, free: 3.73 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.001766/0.6303, allocations: 1.042 MB / 414 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007855/0.6312, allocations: 269.6 kB / 414.3 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6312, allocations: 0 / 414.3 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.6316, allocations: 225 kB / 414.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.632, allocations: 27.06 kB / 414.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.6334, allocations: 384.5 kB / 414.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.6339, allocations: 0.7404 MB / 415.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.6342, allocations: 34.06 kB / 415.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.6345, allocations: 71 kB / 415.7 MB, free: 1.164 MB / 330.7 MB Notification: Performance of SimCode: time 3.135e-06/0.6345, allocations: 0 / 415.7 MB, free: 1.164 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.6695, allocations: 4.772 MB / 420.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/0.6698, allocations: 149.1 kB / 420.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.271, allocations: 0 / 420.6 MB, free: 12.24 MB / 346.7 MB