Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.094/2.094, allocations: 211.3 MB / 223.4 MB, free: 3.637 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.898e-05, allocations: 4 kB / 277.7 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 48.75 MB / 326.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5462, allocations: 81.84 MB / 408.3 MB, free: 7.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5465, allocations: 67.22 kB / 408.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05863/0.6052, allocations: 11.68 MB / 420 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6052, allocations: 0 / 420 MB, free: 13.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.072e-05/0.6053, allocations: 12 kB / 420 MB, free: 13.4 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001866/0.6071, allocations: 0.6103 MB / 420.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.6072, allocations: 12.03 kB / 420.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.6074, allocations: 52.05 kB / 420.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.6076, allocations: 39.53 kB / 420.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6086, allocations: 333.6 kB / 421.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.6087, allocations: 14.12 kB / 421.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.6088, allocations: 27 kB / 421.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.6096, allocations: 276.5 kB / 421.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6096, allocations: 7.984 kB / 421.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.6097, allocations: 9.125 kB / 421.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6097, allocations: 4 kB / 421.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.6106, allocations: 298.5 kB / 421.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.6144, allocations: 1.428 MB / 423.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.6149, allocations: 166 kB / 423.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.6154, allocations: 117.3 kB / 423.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.6154, allocations: 0 / 423.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.6155, allocations: 34.56 kB / 423.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.6155, allocations: 224 / 423.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007069/0.6162, allocations: 191.7 kB / 423.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.6162, allocations: 51.41 kB / 423.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.617, allocations: 371.4 kB / 424 MB, free: 9.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.617, allocations: 37.64 kB / 424.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.6172, allocations: 197 kB / 424.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.6173, allocations: 45.83 kB / 424.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.6174, allocations: 3.188 kB / 424.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.6176, allocations: 341.1 kB / 424.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.6179, allocations: 103.3 kB / 424.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.6182, allocations: 131.6 kB / 424.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.6186, allocations: 104.3 kB / 425 MB, free: 9.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6186, allocations: 3.953 kB / 425 MB, free: 9.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001509/0.6201, allocations: 374 kB / 425.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6202, allocations: 4.094 kB / 425.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6202, allocations: 4 kB / 425.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008859/0.6211, allocations: 84.16 kB / 425.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.6219, allocations: 75.92 kB / 425.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.6244, allocations: 1.547 MB / 427 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.6251, allocations: 47.08 kB / 427.1 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.6252, allocations: 23.72 kB / 427.1 MB, free: 7.105 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 (25): * Single equations (assignments): 24 * 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: 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.0001428/0.6253, allocations: 112.3 kB / 427.2 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.6255, allocations: 35.62 kB / 427.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.6256, allocations: 33.69 kB / 427.3 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6256, allocations: 4 kB / 427.3 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.6256, allocations: 0 / 427.3 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6256, allocations: 0 / 427.3 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.627, allocations: 0.6724 MB / 428 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.627, allocations: 0 / 428 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.6275, allocations: 59.66 kB / 428 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.6275, allocations: 0 / 428 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.6276, allocations: 3.984 kB / 428 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.6276, allocations: 4 kB / 428 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6276, allocations: 0 / 428 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.6282, allocations: 312.9 kB / 428.3 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.6284, allocations: 137.6 kB / 428.5 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.6285, allocations: 3.938 kB / 428.5 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.629, allocations: 23.8 kB / 428.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.6291, allocations: 11.94 kB / 428.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.6292, allocations: 11.98 kB / 428.5 MB, free: 5.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005531/0.6297, allocations: 287.8 kB / 428.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6297, allocations: 0 / 428.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006027/0.6303, allocations: 90.28 kB / 428.9 MB, free: 5.543 MB / 346.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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.6314, allocations: 0.9432 MB / 429.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.6325, allocations: 348.7 kB / 430.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6325, allocations: 0 / 430.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.6327, allocations: 76.91 kB / 430.2 MB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.6335, allocations: 78.48 kB / 430.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.6352, allocations: 433.5 kB / 430.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.6357, allocations: 0.7758 MB / 431.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.636, allocations: 34.97 kB / 431.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.6363, allocations: 113.5 kB / 431.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of SimCode: time 1.734e-06/0.6363, allocations: 0 / 431.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.6719, allocations: 7.548 MB / 439.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/0.6724, allocations: 180.6 kB / 439.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.289, allocations: 7.938 kB / 439.4 MB, free: 11.26 MB / 362.7 MB