Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.157/2.157, allocations: 211.3 MB / 223.4 MB, free: 3.629 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.649e-05/4.662e-05, allocations: 8 kB / 277.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 48.77 MB / 326.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5811, allocations: 83.95 MB / 410.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5814, allocations: 67.16 kB / 410.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.211/3.792, allocations: 468.1 MB / 0.8579 GB, free: 56.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/3.792, allocations: 0 / 0.8579 GB, free: 56.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.004238/3.796, allocations: 241.3 kB / 0.8582 GB, free: 56.89 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.145/3.941, allocations: 17.45 MB / 0.8752 GB, free: 52.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/3.942, allocations: 10.03 kB / 0.8752 GB, free: 52.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007807/3.949, allocations: 1.123 MB / 0.8763 GB, free: 52.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/3.96, allocations: 1.454 MB / 0.8777 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04261/4.003, allocations: 11.41 MB / 0.8889 GB, free: 50.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000923/4.004, allocations: 0.6306 MB / 0.8895 GB, free: 50.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00722/4.011, allocations: 0.8115 MB / 0.8903 GB, free: 50.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06273/4.074, allocations: 19.27 MB / 0.9091 GB, free: 48.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004314/4.075, allocations: 29.98 kB / 0.9091 GB, free: 48.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005969/4.081, allocations: 347.2 kB / 0.9094 GB, free: 48.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/4.081, allocations: 211.8 kB / 0.9096 GB, free: 48.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09381/4.175, allocations: 32.09 MB / 0.941 GB, free: 39.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.897/5.072, allocations: 75.85 MB / 1.015 GB, free: 64.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05514/5.127, allocations: 25.35 MB / 1.04 GB, free: 59.86 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02341/5.15, allocations: 10.32 MB / 1.05 GB, free: 59.78 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/5.151, allocations: 86.38 kB / 1.05 GB, free: 59.77 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/5.151, allocations: 96.52 kB / 1.05 GB, free: 59.73 MB / 458.8 MB Notification: Performance of pre-optimization done (n=592): time 9.408e-06/5.151, allocations: 0 / 1.05 GB, free: 59.73 MB / 458.8 MB Notification: Performance of matching and sorting (n=592): time 0.4346/5.586, allocations: 67.67 MB / 1.116 GB, free: 51.6 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/5.586, allocations: 112.9 kB / 1.116 GB, free: 51.53 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05431/5.64, allocations: 18.18 MB / 1.134 GB, free: 38.73 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003576/5.644, allocations: 129.7 kB / 1.134 GB, free: 38.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009026/5.653, allocations: 5.882 MB / 1.14 GB, free: 33.11 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004999/5.658, allocations: 2.044 MB / 1.142 GB, free: 31.34 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004759/5.663, allocations: 200 kB / 1.142 GB, free: 31.14 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009795/5.664, allocations: 0.7116 MB / 1.143 GB, free: 30.43 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03142/5.695, allocations: 12.56 MB / 1.155 GB, free: 17.86 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03372/5.729, allocations: 13.7 MB / 1.168 GB, free: 3.863 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03842/5.768, allocations: 13.34 MB / 1.181 GB, free: 6.484 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-05/5.768, allocations: 8 kB / 1.181 GB, free: 6.477 MB / 474.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.8624/6.63, allocations: 84.8 MB / 1.264 GB, free: 72.49 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/6.63, allocations: 11.12 kB / 1.264 GB, free: 72.49 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/6.63, allocations: 29.03 kB / 1.264 GB, free: 72.49 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4141/7.044, allocations: 80.39 MB / 1.343 GB, free: 16.79 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01747/7.062, allocations: 1.966 MB / 1.345 GB, free: 14.82 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833/8.895, allocations: 306.4 MB / 1.644 GB, free: 58.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04629/8.941, allocations: 4.665 MB / 1.648 GB, free: 58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006023/8.947, allocations: 0.546 MB / 1.649 GB, free: 57.92 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 887 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 248} Notification: Performance of prepare postOptimizeDAE: time 0.009739/8.957, allocations: 0.5191 MB / 1.65 GB, free: 57.58 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008766/8.966, allocations: 1.198 MB / 1.651 GB, free: 56.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8653/9.831, allocations: 68.96 MB / 1.718 GB, free: 74.56 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.318e-05/9.832, allocations: 56.03 kB / 1.718 GB, free: 74.56 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/9.832, allocations: 3.844 kB / 1.718 GB, free: 74.56 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001961/9.832, allocations: 27.47 kB / 1.718 GB, free: 74.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.485/10.32, allocations: 92.57 MB / 1.808 GB, free: 65.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-05/10.32, allocations: 2.156 kB / 1.809 GB, free: 65.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004452/10.32, allocations: 0.5364 MB / 1.809 GB, free: 65.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3385/10.66, allocations: 65.32 MB / 1.873 GB, free: 20.42 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003197/10.66, allocations: 279.3 kB / 1.873 GB, free: 20.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771/12.43, allocations: 210.5 MB / 2.079 GB, free: 74.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/12.43, allocations: 0 / 2.079 GB, free: 74.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4218/12.86, allocations: 67.85 MB / 2.145 GB, free: 69.87 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01837/12.87, allocations: 4.666 MB / 2.149 GB, free: 69.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009825/12.88, allocations: 99.31 kB / 2.15 GB, free: 69.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03139/12.92, allocations: 2.652 MB / 2.152 GB, free: 68.61 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002036/12.92, allocations: 430.8 kB / 2.153 GB, free: 68.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003324/12.92, allocations: 323.3 kB / 2.153 GB, free: 68.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0383/12.96, allocations: 13.52 MB / 2.166 GB, free: 67.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.212e-06/12.96, allocations: 0 / 2.166 GB, free: 67.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.03998/13, allocations: 5.687 MB / 2.172 GB, free: 66.04 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * 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 {51 247} Notification: Performance of Backend phase and start with SimCode phase: time 0.8017/13.8, allocations: 68.6 MB / 2.239 GB, free: 65.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.2186/14.02, allocations: 50.72 MB / 2.288 GB, free: 59.89 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/14.02, allocations: 0 / 2.288 GB, free: 59.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1609/14.18, allocations: 29.32 MB / 2.317 GB, free: 56.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02782/14.21, allocations: 2.965 MB / 2.32 GB, free: 56.32 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1247/14.33, allocations: 33.49 MB / 2.352 GB, free: 50.65 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01835/14.35, allocations: 8.993 MB / 2.361 GB, free: 47.85 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.02061/14.37, allocations: 3.801 MB / 2.365 GB, free: 46.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01554/14.39, allocations: 5.172 MB / 2.37 GB, free: 42.04 MB / 490.8 MB Notification: Performance of SimCode: time 2.174e-06/14.39, allocations: 3.938 kB / 2.37 GB, free: 42.04 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.314/16.7, allocations: 0.5361 GB / 2.906 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/16.7, allocations: 169.4 kB / 2.906 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.06/47.76, allocations: 0.5469 kB / 2.906 GB, free: 53.46 MB / 0.5105 GB