Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.271/2.271, allocations: 211.3 MB / 223.4 MB, free: 3.637 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.021e-05, allocations: 6.656 kB / 277.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 48.75 MB / 326.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5392, allocations: 81.86 MB / 408.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5396, allocations: 67.34 kB / 408.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06001/0.5996, allocations: 12.07 MB / 420.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5997, allocations: 0 / 420.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.5997, allocations: 8 kB / 420.4 MB, free: 13.39 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001902/0.6016, allocations: 0.6237 MB / 421.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.6017, allocations: 8.031 kB / 421.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.6018, allocations: 59.72 kB / 421.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.602, allocations: 43.53 kB / 421.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.6028, allocations: 350.5 kB / 421.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.6028, allocations: 18.12 kB / 421.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.6029, allocations: 22.56 kB / 421.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.6037, allocations: 296.4 kB / 421.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.6038, allocations: 0 / 421.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.6038, allocations: 11.38 kB / 421.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.6039, allocations: 8 kB / 421.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/0.6048, allocations: 299.6 kB / 422.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.6089, allocations: 1.44 MB / 423.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.6098, allocations: 292.3 kB / 423.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.6102, allocations: 112.8 kB / 424 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.6103, allocations: 4 kB / 424 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.6103, allocations: 30.56 kB / 424 MB, free: 10.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 4.879e-06/0.6103, allocations: 0 / 424 MB, free: 10.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.005394/0.6157, allocations: 0.5502 MB / 424.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.6158, allocations: 59.34 kB / 424.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008231/0.6167, allocations: 383.6 kB / 425 MB, free: 9.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.6167, allocations: 29.64 kB / 425 MB, free: 9.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.6169, allocations: 214.3 kB / 425.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.617, allocations: 46.67 kB / 425.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.6171, allocations: 7.688 kB / 425.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6173, allocations: 345 kB / 425.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.6176, allocations: 103.1 kB / 425.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.618, allocations: 142.7 kB / 425.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.6184, allocations: 113.5 kB / 426 MB, free: 8.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6184, allocations: 0 / 426 MB, free: 8.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.006255/0.6246, allocations: 0.7233 MB / 426.7 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.6247, allocations: 4 kB / 426.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6247, allocations: 0 / 426.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005335/0.6301, allocations: 0.5526 MB / 427.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.6306, allocations: 47.91 kB / 427.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.6425, allocations: 3.978 MB / 431.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.6433, allocations: 47.59 kB / 431.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.6433, allocations: 15.73 kB / 431.3 MB, free: 3.742 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.6435, allocations: 117.4 kB / 431.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6436, allocations: 35.58 kB / 431.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.6438, allocations: 33.12 kB / 431.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.6438, allocations: 4 kB / 431.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6438, allocations: 0 / 431.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.6438, allocations: 7.922 kB / 431.5 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/0.6499, allocations: 1.067 MB / 432.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.65, allocations: 0 / 432.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6502, allocations: 28.02 kB / 432.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004289/0.6545, allocations: 476.8 kB / 433.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.6546, allocations: 3.984 kB / 433.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008327/0.6629, allocations: 2.314 MB / 435.4 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.663, allocations: 0 / 435.4 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/0.6683, allocations: 0.655 MB / 436.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.6687, allocations: 139.6 kB / 436.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.6688, allocations: 4 kB / 436.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.6693, allocations: 31.78 kB / 436.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.6694, allocations: 15.92 kB / 436.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.6695, allocations: 11.98 kB / 436.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005645/0.6701, allocations: 301.9 kB / 436.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6701, allocations: 0 / 436.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008732/0.671, allocations: 119.8 kB / 436.7 MB, free: 15.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005806/0.6768, allocations: 1.307 MB / 438 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.6783, allocations: 498.7 kB / 438.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6783, allocations: 0 / 438.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.6789, allocations: 221.1 kB / 438.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.6797, allocations: 74.94 kB / 438.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.6816, allocations: 472.1 kB / 439.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.6821, allocations: 0.7914 MB / 440 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.6824, allocations: 30.97 kB / 440 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.6826, allocations: 116.7 kB / 440.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6826, allocations: 3.938 kB / 440.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.732, allocations: 12.04 MB / 452.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.7324, allocations: 154.8 kB / 452.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.577, allocations: 0 / 452.4 MB, free: 15.63 MB / 378.7 MB