Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.414e-05, allocations: 4.984 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5677, allocations: 78.81 MB / 421.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.5681, allocations: 81.83 kB / 421.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.5793, allocations: 2.464 MB / 424 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5794, allocations: 0 / 424 MB, free: 12.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.5794, allocations: 8 kB / 424 MB, free: 12.82 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00067/0.5801, allocations: 421.6 kB / 424.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5802, allocations: 12.03 kB / 424.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.5803, allocations: 46.39 kB / 424.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.5803, allocations: 15.81 kB / 424.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.5808, allocations: 227.6 kB / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5808, allocations: 8.062 kB / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5809, allocations: 11.81 kB / 424.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.5815, allocations: 257.5 kB / 425 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5815, allocations: 4 kB / 425 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.5815, allocations: 0 / 425 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5816, allocations: 4 kB / 425 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.5817, allocations: 46.69 kB / 425 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.5825, allocations: 449.3 kB / 425.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.583, allocations: 256.7 kB / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.5832, allocations: 99.22 kB / 425.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.5833, allocations: 7.938 kB / 425.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.5833, allocations: 38.5 kB / 425.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.567e-06/0.5834, allocations: 0 / 425.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004603/0.5838, allocations: 132.6 kB / 426 MB, free: 10.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.584, allocations: 207.4 kB / 426.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.5842, allocations: 153.4 kB / 426.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.5843, allocations: 33.58 kB / 426.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.5844, allocations: 162.6 kB / 426.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.5844, allocations: 15.77 kB / 426.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.5844, allocations: 3.875 kB / 426.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5846, allocations: 322.5 kB / 426.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.5846, allocations: 23.83 kB / 426.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.5849, allocations: 129.7 kB / 427 MB, free: 9.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.585, allocations: 43.27 kB / 427.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.585, allocations: 4 kB / 427.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000364/0.5854, allocations: 144.9 kB / 427.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5854, allocations: 8 kB / 427.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5854, allocations: 4 kB / 427.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.5855, allocations: 4 kB / 427.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.5858, allocations: 44.33 kB / 427.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5858, allocations: 8 kB / 427.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.586, allocations: 19.83 kB / 427.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.586, allocations: 11.81 kB / 427.3 MB, free: 9.402 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001203/0.5862, allocations: 116.8 kB / 427.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.5865, allocations: 128.2 kB / 427.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.5866, allocations: 21.42 kB / 427.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5866, allocations: 4 kB / 427.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5866, allocations: 4.031 kB / 427.6 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5866, allocations: 7.984 kB / 427.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.587, allocations: 220.7 kB / 427.8 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5871, allocations: 0 / 427.8 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.5874, allocations: 43.91 kB / 427.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5874, allocations: 0 / 427.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5874, allocations: 7.938 kB / 427.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5875, allocations: 7.938 kB / 427.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5875, allocations: 4 kB / 427.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.588, allocations: 382.2 kB / 428.2 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.5881, allocations: 112.4 kB / 428.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.5882, allocations: 7.828 kB / 428.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.5884, allocations: 12 kB / 428.4 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5885, allocations: 7.984 kB / 428.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5885, allocations: 7.812 kB / 428.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.5887, allocations: 132.4 kB / 428.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.5887, allocations: 0 / 428.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.5892, allocations: 27.81 kB / 428.5 MB, free: 8.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001073/0.5903, allocations: 1.239 MB / 429.8 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.5907, allocations: 94.22 kB / 429.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5907, allocations: 5 kB / 429.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.5907, allocations: 4 kB / 429.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.5915, allocations: 95.39 kB / 430 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.5925, allocations: 295 kB / 430.2 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5929, allocations: 0.732 MB / 431 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.5931, allocations: 42.42 kB / 431 MB, free: 5.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5931, allocations: 0 / 431 MB, free: 5.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.331/2.924, allocations: 2.372 MB / 433.4 MB, free: 3.375 MB / 346.7 MB