Notification: Performance of loadModel(Modelica): time 1.069/1.069, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.389e-05, allocations: 7.922 kB / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 25.16 MB / 171.1 MB, free: 1.898 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0549/0.1744, allocations: 32.55 MB / 203.6 MB, free: 5.035 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.1746, allocations: 59.97 kB / 203.7 MB, free: 4.977 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01012/0.1848, allocations: 2.703 MB / 206.4 MB, free: 2.254 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1848, allocations: 8.875 kB / 206.4 MB, free: 2.246 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007142/0.1855, allocations: 438.8 kB / 206.8 MB, free: 1.77 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1856, allocations: 12.03 kB / 206.8 MB, free: 1.758 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.1857, allocations: 23.67 kB / 206.9 MB, free: 1.734 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.186, allocations: 218.9 kB / 207.1 MB, free: 1.48 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.186, allocations: 8 kB / 207.1 MB, free: 1.473 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1861, allocations: 12 kB / 207.1 MB, free: 1.461 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004102/0.1865, allocations: 144.8 kB / 207.2 MB, free: 1.32 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.187, allocations: 204.9 kB / 207.4 MB, free: 1.109 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.187, allocations: 0 / 207.4 MB, free: 1.109 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1871, allocations: 3.953 kB / 207.4 MB, free: 1.105 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1871, allocations: 4 kB / 207.4 MB, free: 1.102 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1883, allocations: 0.6198 MB / 208.1 MB, free: 448 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.1887, allocations: 163.1 kB / 208.2 MB, free: 276 kB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1888, allocations: 73.23 kB / 208.3 MB, free: 200 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1889, allocations: 8.172 kB / 208.3 MB, free: 192 kB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.1891, allocations: 112.4 kB / 208.4 MB, free: 68 kB / 170.7 MB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.1891, allocations: 3.938 kB / 208.4 MB, free: 64 kB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004055/0.1896, allocations: 141.6 kB / 208.5 MB, free: 15.91 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1896, allocations: 63.2 kB / 208.6 MB, free: 15.84 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1898, allocations: 142.5 kB / 208.7 MB, free: 15.7 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1898, allocations: 29.7 kB / 208.8 MB, free: 15.66 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.1899, allocations: 124.4 kB / 208.9 MB, free: 15.54 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.19, allocations: 55.27 kB / 209 MB, free: 15.48 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.19, allocations: 0 / 209 MB, free: 15.48 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1902, allocations: 326.8 kB / 209.3 MB, free: 15.15 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1904, allocations: 52.31 kB / 209.3 MB, free: 15.1 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1906, allocations: 119.4 kB / 209.4 MB, free: 14.96 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1907, allocations: 56.91 kB / 209.5 MB, free: 14.9 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1908, allocations: 0 / 209.5 MB, free: 14.9 MB / 186.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004739/0.1912, allocations: 217.3 kB / 209.7 MB, free: 14.68 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1913, allocations: 11.58 kB / 209.7 MB, free: 14.68 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1913, allocations: 0 / 209.7 MB, free: 14.68 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1913, allocations: 4 kB / 209.7 MB, free: 14.67 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1915, allocations: 27.92 kB / 209.7 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1916, allocations: 4 kB / 209.8 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1917, allocations: 12.16 kB / 209.8 MB, free: 14.63 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.1918, allocations: 19.98 kB / 209.8 MB, free: 14.61 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,initialStep.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 0.0001797/0.1919, allocations: 128.2 kB / 209.9 MB, free: 14.48 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003277/0.1923, allocations: 155.8 kB / 210.1 MB, free: 14.32 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1923, allocations: 11.91 kB / 210.1 MB, free: 14.31 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.1928, allocations: 170.2 kB / 210.2 MB, free: 14.14 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1928, allocations: 0 / 210.2 MB, free: 14.14 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1928, allocations: 8 kB / 210.2 MB, free: 14.13 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1929, allocations: 3.984 kB / 210.3 MB, free: 14.12 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009698/0.1938, allocations: 0.4989 MB / 210.8 MB, free: 13.58 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1939, allocations: 0 / 210.8 MB, free: 13.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.194, allocations: 19.92 kB / 210.8 MB, free: 13.56 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.194, allocations: 0 / 210.8 MB, free: 13.56 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1941, allocations: 11.94 kB / 210.8 MB, free: 13.55 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1941, allocations: 0 / 210.8 MB, free: 13.55 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1941, allocations: 0 / 210.8 MB, free: 13.55 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.1945, allocations: 263.7 kB / 211 MB, free: 13.28 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.1946, allocations: 96.86 kB / 211.1 MB, free: 13.16 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1946, allocations: 3.938 kB / 211.1 MB, free: 13.16 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1948, allocations: 4 kB / 211.1 MB, free: 13.16 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.1949, allocations: 27.95 kB / 211.2 MB, free: 13.13 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1949, allocations: 8 kB / 211.2 MB, free: 13.12 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.195, allocations: 96.27 kB / 211.3 MB, free: 13.03 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.195, allocations: 0 / 211.3 MB, free: 13.03 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003816/0.1954, allocations: 28 kB / 211.3 MB, free: 13 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (transition2.enableFire,step.localActive,transition1.enableFire,initialStep.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,initialStep.active,transition1.fire,transition1.t_start,step.newActive,step.oldActive,step.active,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007921/0.1962, allocations: 0.8097 MB / 212.1 MB, free: 12.16 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.1966, allocations: 155.9 kB / 212.3 MB, free: 12.01 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1966, allocations: 0 / 212.3 MB, free: 12.01 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1968, allocations: 79.88 kB / 212.3 MB, free: 11.93 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1971, allocations: 15.97 kB / 212.4 MB, free: 11.92 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.1979, allocations: 267.4 kB / 212.6 MB, free: 11.62 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1983, allocations: 0.7366 MB / 213.4 MB, free: 10.86 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1985, allocations: 22.08 kB / 213.4 MB, free: 10.84 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1986, allocations: 59.41 kB / 213.4 MB, free: 10.78 MB / 186.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1986, allocations: 4 kB / 213.4 MB, free: 10.78 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04993/0.2486, allocations: 2.993 MB / 216.4 MB, free: 7.797 MB / 186.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004327/0.253, allocations: 126.1 kB / 216.6 MB, free: 7.605 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.541/2.794, allocations: 3.438 kB / 216.6 MB, free: 7.605 MB / 186.7 MB