Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.647e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5657, allocations: 77.28 MB / 419.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5661, allocations: 80.58 kB / 420 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009645/0.5758, allocations: 2.118 MB / 422.1 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5758, allocations: 0 / 422.1 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5759, allocations: 4 kB / 422.1 MB, free: 14.99 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005049/0.5764, allocations: 354.2 kB / 422.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.5764, allocations: 8.031 kB / 422.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.5765, allocations: 41.7 kB / 422.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.5766, allocations: 11.84 kB / 422.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.5769, allocations: 194.7 kB / 422.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5769, allocations: 0 / 422.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5769, allocations: 7.938 kB / 422.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.5772, allocations: 115.4 kB / 422.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5773, allocations: 3.953 kB / 422.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5773, allocations: 0 / 422.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5773, allocations: 0 / 422.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.5774, allocations: 11.5 kB / 422.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.5779, allocations: 284 kB / 423.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.578, allocations: 62.92 kB / 423.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.5781, allocations: 37.03 kB / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.5781, allocations: 0 / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5782, allocations: 34.56 kB / 423.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.704e-06/0.5782, allocations: 0 / 423.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.5785, allocations: 60.28 kB / 423.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.5786, allocations: 114.9 kB / 423.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.5787, allocations: 126.6 kB / 423.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.5788, allocations: 25.7 kB / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.5789, allocations: 157.6 kB / 423.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.5789, allocations: 3.312 kB / 423.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5789, allocations: 4 kB / 423.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.579, allocations: 318.7 kB / 424.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.5791, allocations: 15.44 kB / 424.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.5791, allocations: 30.98 kB / 424.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.5792, allocations: 4 kB / 424.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5792, allocations: 0 / 424.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000145/0.5794, allocations: 61.08 kB / 424.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.5794, allocations: 8 kB / 424.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5794, allocations: 0 / 424.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5794, allocations: 0 / 424.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.5796, allocations: 11.98 kB / 424.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5796, allocations: 4 kB / 424.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.5797, allocations: 7.656 kB / 424.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5797, allocations: 0 / 424.2 MB, free: 12.72 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 9.049e-05/0.5798, allocations: 113 kB / 424.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.58, allocations: 57.03 kB / 424.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.58, allocations: 10.91 kB / 424.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5801, allocations: 0 / 424.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5801, allocations: 0 / 424.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5801, allocations: 4 kB / 424.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.5803, allocations: 175.6 kB / 424.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5803, allocations: 4 kB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.5805, allocations: 12 kB / 424.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.5805, allocations: 7.953 kB / 424.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5805, allocations: 0 / 424.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.5805, allocations: 7.984 kB / 424.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5805, allocations: 0 / 424.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.5808, allocations: 189.9 kB / 424.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.5809, allocations: 90.88 kB / 424.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.5809, allocations: 2.25 kB / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.581, allocations: 4 kB / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.5811, allocations: 7.984 kB / 424.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5811, allocations: 4 kB / 424.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.5812, allocations: 112.8 kB / 425 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.244e-06/0.5812, allocations: 0 / 425 MB, free: 11.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.5816, allocations: 7.938 kB / 425 MB, free: 11.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0006181/0.5822, allocations: 0.8616 MB / 425.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.5824, allocations: 34.55 kB / 425.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5824, allocations: 0 / 425.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.5824, allocations: 0 / 425.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.5829, allocations: 38.03 kB / 425.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.5835, allocations: 164.9 kB / 426.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.5838, allocations: 0.7009 MB / 426.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.5839, allocations: 22.44 kB / 426.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5839, allocations: 0 / 426.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.509/3.093, allocations: 1.112 MB / 427.9 MB, free: 8.875 MB / 346.7 MB