Running command: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun") Notification: Performance of loadModel(SolarTherm): time 1.888/1.888, allocations: 179.3 MB / 189.5 MB, free: 9.754 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.068e-05, allocations: 6.5 kB / 232.3 MB, free: 15.57 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 40.45 MB / 272.7 MB, free: 7.027 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.4278, allocations: 71.64 MB / 344.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4282, allocations: 75.95 kB / 344.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01823/0.4464, allocations: 3.926 MB / 348.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.556e-06/0.4465, allocations: 3.938 kB / 348.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.4465, allocations: 4 kB / 348.4 MB, free: 14.41 MB / 298.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.0003584/0.4468, allocations: 348.2 kB / 348.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4469, allocations: 8.031 kB / 348.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.4469, allocations: 0.9375 kB / 348.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4471, allocations: 174.9 kB / 348.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4471, allocations: 8 kB / 348.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4471, allocations: 0 / 348.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4473, allocations: 55.34 kB / 349 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.348e-06/0.4473, allocations: 0 / 349 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.4473, allocations: 0 / 349 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.457e-06/0.4473, allocations: 4.5 kB / 349 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.4474, allocations: 4 kB / 349 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.4478, allocations: 313.7 kB / 349.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.4478, allocations: 45.08 kB / 349.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.4479, allocations: 13.84 kB / 349.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.4484, allocations: 206.2 kB / 349.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4484, allocations: 38.16 kB / 349.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.147e-06/0.4484, allocations: 4 kB / 349.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004742/0.4489, allocations: 61.59 kB / 349.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.449, allocations: 81.09 kB / 349.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.4491, allocations: 97 kB / 349.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4491, allocations: 28.14 kB / 349.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.4492, allocations: 87.98 kB / 349.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.4492, allocations: 11.91 kB / 349.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-06/0.4492, allocations: 0 / 349.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4494, allocations: 322.8 kB / 350.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.4494, allocations: 4 kB / 350.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.4495, allocations: 21.59 kB / 350.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4498, allocations: 27.95 kB / 350.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-06/0.4498, allocations: 0 / 350.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003589/0.4502, allocations: 65.55 kB / 350.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4502, allocations: 12.88 kB / 350.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4502, allocations: 0 / 350.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4502, allocations: 0 / 350.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.4503, allocations: 8 kB / 350.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.492e-06/0.4503, allocations: 0 / 350.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.4503, allocations: 3.984 kB / 350.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.4504, allocations: 3.938 kB / 350.4 MB, free: 12.14 MB / 298.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.83e-05/0.4504, allocations: 108.9 kB / 350.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.4505, allocations: 0 / 350.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.4509, allocations: 73.39 kB / 350.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-06/0.4509, allocations: 0 / 350.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-06/0.451, allocations: 0 / 350.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-06/0.451, allocations: 4 kB / 350.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.4513, allocations: 247.1 kB / 350.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4513, allocations: 0 / 350.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.4514, allocations: 4 kB / 350.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.389e-06/0.4514, allocations: 4.547 kB / 350.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-06/0.4514, allocations: 64 / 350.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.076e-06/0.4514, allocations: 4 kB / 350.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.457e-06/0.4514, allocations: 5.422 kB / 350.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.4519, allocations: 251.8 kB / 351.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.4519, allocations: 77.11 kB / 351.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.452, allocations: 11.94 kB / 351.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4521, allocations: 4.031 kB / 351.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.4521, allocations: 3.938 kB / 351.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-06/0.4521, allocations: 4 kB / 351.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.4522, allocations: 84.02 kB / 351.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.4522, allocations: 0 / 351.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007319/0.453, allocations: 27.89 kB / 351.3 MB, free: 11.14 MB / 298.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.0003315/0.4533, allocations: 147.1 kB / 351.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.4535, allocations: 37.7 kB / 351.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.756e-06/0.4536, allocations: 0 / 351.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.4536, allocations: 37.64 kB / 351.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.454, allocations: 4 kB / 351.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.4543, allocations: 67.16 kB / 351.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4546, allocations: 0.6809 MB / 352.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.962e-06/0.4547, allocations: 0 / 352.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.4547, allocations: 7.688 kB / 352.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of SimCode: time 1.041e-06/0.4547, allocations: 8 kB / 352.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Templates: time 0.002957/0.4577, allocations: 497.1 kB / 352.7 MB, free: 9.613 MB / 298.7 MB