Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.192/2.192, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.886e-05, allocations: 0 / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 49.7 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.6057, allocations: 75.72 MB / 405 MB, free: 8.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.606, allocations: 60.09 kB / 405 MB, free: 8.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0009809/0.607, allocations: 406.6 kB / 405.4 MB, free: 7.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.607, allocations: 0 / 405.4 MB, free: 7.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.607, allocations: 0 / 405.4 MB, free: 7.656 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003223/0.6074, allocations: 317.6 kB / 405.8 MB, free: 7.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6074, allocations: 8.031 kB / 405.8 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.6075, allocations: 30.56 kB / 405.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.6075, allocations: 6.938 kB / 405.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.6077, allocations: 167.1 kB / 406 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.6077, allocations: 3.938 kB / 406 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.6077, allocations: 3.953 kB / 406 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.6078, allocations: 42.98 kB / 406 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.6079, allocations: 0 / 406 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.6079, allocations: 0 / 406 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6079, allocations: 0 / 406 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.6079, allocations: 11.94 kB / 406 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.6086, allocations: 186.2 kB / 406.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.6087, allocations: 33.19 kB / 406.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.6087, allocations: 21.28 kB / 406.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.6087, allocations: 4.641 kB / 406.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.6088, allocations: 38.45 kB / 406.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.6088, allocations: 4 kB / 406.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.6089, allocations: 41.48 kB / 406.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.609, allocations: 77.11 kB / 406.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.6091, allocations: 89.06 kB / 406.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6091, allocations: 31.94 kB / 406.5 MB, free: 6.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.6092, allocations: 84.14 kB / 406.6 MB, free: 6.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.6092, allocations: 11.83 kB / 406.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.6092, allocations: 0 / 406.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6094, allocations: 314.2 kB / 406.9 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.6094, allocations: 4 kB / 406.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.6094, allocations: 13.84 kB / 407 MB, free: 5.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.6095, allocations: 7.812 kB / 407 MB, free: 5.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6095, allocations: 0 / 407 MB, free: 5.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.649e-05/0.6096, allocations: 37.69 kB / 407 MB, free: 5.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6096, allocations: 11.94 kB / 407 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6096, allocations: 3.953 kB / 407 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6096, allocations: 0 / 407 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.61, allocations: 32.09 kB / 407 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.6121, allocations: 2.538 MB / 409.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.6122, allocations: 256 / 409.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.6122, allocations: 4 kB / 409.6 MB, free: 3.055 MB / 330.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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.411e-05/0.6123, allocations: 109 kB / 409.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.6123, allocations: 7.859 kB / 409.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.6124, allocations: 5.562 kB / 409.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.6124, allocations: 0 / 409.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.6124, allocations: 7.938 kB / 409.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6124, allocations: 0 / 409.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.613, allocations: 184.3 kB / 409.9 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.613, allocations: 0.875 kB / 409.9 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.6133, allocations: 27.98 kB / 409.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6133, allocations: 3.938 kB / 409.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.6133, allocations: 3.953 kB / 409.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.6154, allocations: 2.541 MB / 412.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6154, allocations: 0 / 412.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.6155, allocations: 90.48 kB / 412.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.6156, allocations: 81.09 kB / 412.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6156, allocations: 8 kB / 412.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.6157, allocations: 0 / 412.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.6157, allocations: 0 / 412.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.6157, allocations: 4 kB / 412.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.6158, allocations: 78.09 kB / 412.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6158, allocations: 4.125 kB / 412.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.6161, allocations: 4 kB / 412.7 MB, free: 15.59 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004814/0.6166, allocations: 0.6815 MB / 413.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.6174, allocations: 42.84 kB / 413.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6174, allocations: 0 / 413.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006732/0.6181, allocations: 38.7 kB / 413.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.6183, allocations: 4 kB / 413.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.6186, allocations: 94.75 kB / 413.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.6189, allocations: 0.6848 MB / 414.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.6191, allocations: 27.88 kB / 414.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6192, allocations: 25.66 kB / 414.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6192, allocations: 0 / 414.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.6425, allocations: 1.534 MB / 415.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.6428, allocations: 144.9 kB / 416 MB, free: 12.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.042, allocations: 0 / 416 MB, free: 12.21 MB / 346.7 MB