Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.131e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 50.42 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5427, allocations: 76.72 MB / 419.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.543, allocations: 81.31 kB / 419.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004549/0.5476, allocations: 1.161 MB / 420.6 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd: time 5.129e-06/0.5476, allocations: 0 / 420.6 MB, free: 292 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.5477, allocations: 7.938 kB / 420.6 MB, free: 284 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004543/0.5481, allocations: 340.9 kB / 420.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.5482, allocations: 8.031 kB / 420.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.5483, allocations: 37.69 kB / 421 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.5483, allocations: 15.86 kB / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.5486, allocations: 190 kB / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5486, allocations: 0 / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.5486, allocations: 7.984 kB / 421.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.5489, allocations: 110.3 kB / 421.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5489, allocations: 4 kB / 421.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.549, allocations: 0 / 421.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.549, allocations: 3.953 kB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.549, allocations: 7.5 kB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.5495, allocations: 267.8 kB / 421.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.5498, allocations: 132.9 kB / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.5498, allocations: 21.16 kB / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5499, allocations: 0 / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5499, allocations: 41.78 kB / 421.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5499, allocations: 0 / 421.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.5502, allocations: 56.73 kB / 421.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5502, allocations: 84.2 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.5504, allocations: 120.6 kB / 422 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5504, allocations: 25.7 kB / 422 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.5505, allocations: 153.9 kB / 422.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.5505, allocations: 7.938 kB / 422.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5506, allocations: 3.938 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5507, allocations: 314.7 kB / 422.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.5507, allocations: 8 kB / 422.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.5508, allocations: 27.38 kB / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.5508, allocations: 9.141 kB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5508, allocations: 0 / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.551, allocations: 57.17 kB / 422.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.551, allocations: 7.984 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.551, allocations: 0 / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.551, allocations: 7.953 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5512, allocations: 8 kB / 422.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.5512, allocations: 7.938 kB / 422.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.5513, allocations: 4 kB / 422.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.5513, allocations: 4 kB / 422.7 MB, free: 14.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001085/0.5514, allocations: 116.5 kB / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5515, allocations: 44.61 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.5516, allocations: 15.2 kB / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.5516, allocations: 3.953 kB / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5516, allocations: 0 / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5516, allocations: 0 / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.5519, allocations: 168.2 kB / 423 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5519, allocations: 0 / 423 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.552, allocations: 8 kB / 423 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.552, allocations: 0 / 423 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.552, allocations: 4 kB / 423 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.552, allocations: 0 / 423 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5521, allocations: 11.89 kB / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.5522, allocations: 164.3 kB / 423.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.5523, allocations: 95.94 kB / 423.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.5524, allocations: 0 / 423.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.53e-05/0.5525, allocations: 15.94 kB / 423.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.5525, allocations: 0 / 423.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.5526, allocations: 4 kB / 423.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.909e-05/0.5527, allocations: 107.7 kB / 423.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5527, allocations: 0 / 423.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.553, allocations: 4 kB / 423.4 MB, free: 13.2 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 (4): * Single equations (assignments): 4 * 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.0005087/0.5535, allocations: 0.7705 MB / 424.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.5537, allocations: 23.11 kB / 424.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5537, allocations: 0 / 424.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.5537, allocations: 7.938 kB / 424.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.5541, allocations: 23.61 kB / 424.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.5546, allocations: 162.4 kB / 424.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.5549, allocations: 0.6926 MB / 425.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.555, allocations: 10.75 kB / 425.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.555, allocations: 0 / 425.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/3.102, allocations: 0.9533 MB / 426 MB, free: 10.51 MB / 346.7 MB