Running command: "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SolarTherm): time 2.246/2.246, allocations: 218.8 MB / 230.9 MB, free: 14.65 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.849e-05, allocations: 11.98 kB / 284 MB, free: 9.875 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50 MB / 334 MB, free: 7.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5547, allocations: 85.34 MB / 419.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.555, allocations: 82.12 kB / 419.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01995/0.575, allocations: 3.96 MB / 423.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5751, allocations: 0 / 423.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.5751, allocations: 0 / 423.3 MB, free: 8.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003646/0.5755, allocations: 349.4 kB / 423.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5755, allocations: 8.031 kB / 423.7 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.5756, allocations: 38.55 kB / 423.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.5756, allocations: 11.86 kB / 423.7 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.5758, allocations: 166.4 kB / 423.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.5758, allocations: 0 / 423.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.5758, allocations: 4 kB / 423.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.576, allocations: 61.47 kB / 424 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.576, allocations: 0 / 424 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.576, allocations: 2.812 kB / 424 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.576, allocations: 3.938 kB / 424 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.5761, allocations: 14.83 kB / 424 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.5766, allocations: 350.8 kB / 424.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.5767, allocations: 48.33 kB / 424.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.5767, allocations: 25.31 kB / 424.4 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.5773, allocations: 198.1 kB / 424.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5774, allocations: 42.55 kB / 424.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.5774, allocations: 0 / 424.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.000191/0.5776, allocations: 35.77 kB / 424.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.5777, allocations: 85.05 kB / 424.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.5778, allocations: 96.48 kB / 424.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5778, allocations: 25.7 kB / 424.9 MB, free: 6.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.5779, allocations: 96.05 kB / 425 MB, free: 6.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.5779, allocations: 7.891 kB / 425 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5779, allocations: 0 / 425 MB, free: 6.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.578, allocations: 318.5 kB / 425.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.5781, allocations: 4 kB / 425.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.5781, allocations: 13.72 kB / 425.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.5781, allocations: 4 kB / 425.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5782, allocations: 4.031 kB / 425.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001016/0.5783, allocations: 48.98 kB / 425.4 MB, free: 5.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5783, allocations: 7.953 kB / 425.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.5783, allocations: 3.984 kB / 425.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5784, allocations: 0 / 425.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.5784, allocations: 4 kB / 425.4 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5784, allocations: 0 / 425.4 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.5785, allocations: 3.938 kB / 425.4 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.5785, allocations: 4 kB / 425.4 MB, free: 5.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.665e-05/0.5786, allocations: 105 kB / 425.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.5786, allocations: 3.75 kB / 425.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.5788, allocations: 48.77 kB / 425.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5788, allocations: 0 / 425.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5788, allocations: 256 / 425.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5788, allocations: 3.938 kB / 425.5 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.5792, allocations: 273.6 kB / 425.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.5792, allocations: 4.062 kB / 425.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.5793, allocations: 4 kB / 425.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5793, allocations: 7.891 kB / 425.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5793, allocations: 4 kB / 425.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5793, allocations: 0 / 425.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5793, allocations: 0 / 425.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.5795, allocations: 240.1 kB / 426.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.5796, allocations: 85 kB / 426.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.5796, allocations: 0 / 426.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5797, allocations: 4 kB / 426.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.5797, allocations: 3.984 kB / 426.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.5797, allocations: 0 / 426.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.5798, allocations: 83.16 kB / 426.2 MB, free: 4.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5798, allocations: 0 / 426.2 MB, free: 4.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.5802, allocations: 27.94 kB / 426.3 MB, free: 4.805 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006971/0.5809, allocations: 0.8705 MB / 427.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.5811, allocations: 33.7 kB / 427.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5811, allocations: 3.25 kB / 427.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.5811, allocations: 33.92 kB / 427.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5814, allocations: 4 kB / 427.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.5819, allocations: 128.9 kB / 427.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.5823, allocations: 0.6848 MB / 428 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.5823, allocations: 0 / 428 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.5824, allocations: 14.19 kB / 428 MB, free: 2.945 MB / 346.7 MB Notification: Performance of SimCode: time 6.52e-07/0.5824, allocations: 0 / 428 MB, free: 2.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.5999, allocations: 1.23 MB / 429.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6001, allocations: 140.7 kB / 429.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.88, allocations: 0 / 429.4 MB, free: 1.547 MB / 346.7 MB