Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.482e-05, allocations: 5.406 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.5689, allocations: 77.46 MB / 420.1 MB, free: 328 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5692, allocations: 78.52 kB / 420.2 MB, free: 284 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00682/0.5761, allocations: 1.628 MB / 421.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5761, allocations: 0 / 421.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.5761, allocations: 4 kB / 421.8 MB, free: 14.86 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000487/0.5766, allocations: 365.1 kB / 422.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5767, allocations: 8.031 kB / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.5768, allocations: 41.95 kB / 422.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.5768, allocations: 11.91 kB / 422.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.5771, allocations: 204.4 kB / 422.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5771, allocations: 7.938 kB / 422.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.5771, allocations: 3.562 kB / 422.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.5775, allocations: 127.6 kB / 422.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5775, allocations: 4 kB / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5775, allocations: 0 / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.5776, allocations: 11.89 kB / 422.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.491e-05/0.5776, allocations: 22.92 kB / 422.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.5782, allocations: 286.8 kB / 422.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.5783, allocations: 86.16 kB / 423 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.5784, allocations: 37.69 kB / 423 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.5785, allocations: 11.92 kB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5785, allocations: 38.52 kB / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.5785, allocations: 0 / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002723/0.5788, allocations: 70.09 kB / 423.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.5789, allocations: 143.9 kB / 423.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.5791, allocations: 135 kB / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5792, allocations: 29.14 kB / 423.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.5792, allocations: 158.2 kB / 423.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.5793, allocations: 7.094 kB / 423.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5793, allocations: 0 / 423.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5794, allocations: 314.8 kB / 423.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.5795, allocations: 7.5 kB / 423.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.5795, allocations: 48.64 kB / 423.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.5796, allocations: 7.25 kB / 423.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5796, allocations: 8 kB / 424 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001571/0.5798, allocations: 64.5 kB / 424 MB, free: 12.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5798, allocations: 8 kB / 424 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5798, allocations: 0 / 424 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5799, allocations: 7.953 kB / 424 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.58, allocations: 11.98 kB / 424 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.58, allocations: 4 kB / 424 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.295e-05/0.5801, allocations: 8.188 kB / 424.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.5802, allocations: 7.938 kB / 424.1 MB, free: 12.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.671e-05/0.5803, allocations: 111 kB / 424.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.5804, allocations: 64.83 kB / 424.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.5805, allocations: 17.95 kB / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5805, allocations: 7.953 kB / 424.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5805, allocations: 0 / 424.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.5805, allocations: 96 / 424.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5808, allocations: 186.9 kB / 424.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5808, allocations: 3.938 kB / 424.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.5809, allocations: 15.98 kB / 424.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.581, allocations: 0 / 424.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.581, allocations: 0 / 424.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.581, allocations: 8.125 kB / 424.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.581, allocations: 3.953 kB / 424.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.5813, allocations: 227 kB / 424.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.5814, allocations: 92.19 kB / 424.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.5814, allocations: 11.17 kB / 424.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5815, allocations: 4 kB / 424.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.5816, allocations: 4 kB / 424.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5816, allocations: 4 kB / 424.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.5817, allocations: 108.7 kB / 424.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5818, allocations: 0 / 424.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.5821, allocations: 10.75 kB / 424.9 MB, free: 11.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006993/0.5828, allocations: 0.9622 MB / 425.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.583, allocations: 27.19 kB / 425.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.583, allocations: 8.062 kB / 425.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.583, allocations: 0 / 425.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.5835, allocations: 49.83 kB / 426 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.5841, allocations: 197.8 kB / 426.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.5845, allocations: 0.7008 MB / 426.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.5846, allocations: 31.11 kB / 426.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of SimCode: time 1.031e-06/0.5846, allocations: 0 / 426.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.258/2.843, allocations: 1.343 MB / 428.2 MB, free: 8.102 MB / 346.7 MB