Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",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.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.259e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 50.41 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.538, allocations: 76.64 MB / 419.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5383, allocations: 77.33 kB / 419.4 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005273/0.5436, allocations: 1.321 MB / 420.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.5437, allocations: 0 / 420.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.5437, allocations: 11.94 kB / 420.7 MB, free: 15.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004888/0.5442, allocations: 354.6 kB / 421 MB, free: 15.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5443, allocations: 8.031 kB / 421 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.5443, allocations: 50.23 kB / 421.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.5444, allocations: 11.86 kB / 421.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.5446, allocations: 185.9 kB / 421.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.5446, allocations: 0 / 421.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5447, allocations: 7.625 kB / 421.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.545, allocations: 112 kB / 421.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.545, allocations: 0 / 421.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.5451, allocations: 11.7 kB / 421.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.5451, allocations: 3.938 kB / 421.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.5451, allocations: 19.88 kB / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.5457, allocations: 377.4 kB / 421.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.5458, allocations: 58.67 kB / 421.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.5459, allocations: 37.81 kB / 421.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.546, allocations: 3.984 kB / 421.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.546, allocations: 38.5 kB / 421.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.546, allocations: 0 / 421.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002455/0.5463, allocations: 64.09 kB / 422 MB, free: 14.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.5464, allocations: 110.9 kB / 422.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.5465, allocations: 133.1 kB / 422.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5466, allocations: 25.7 kB / 422.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.5467, allocations: 153.6 kB / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.5467, allocations: 6.969 kB / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5467, allocations: 4 kB / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5468, allocations: 314.8 kB / 422.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.5469, allocations: 7 kB / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.547, allocations: 38.86 kB / 422.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.547, allocations: 11.31 kB / 422.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.547, allocations: 0 / 422.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.5472, allocations: 60.92 kB / 422.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5472, allocations: 8.031 kB / 422.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5472, allocations: 4 kB / 422.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5473, allocations: 0 / 422.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5474, allocations: 11.98 kB / 422.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5474, allocations: 4 kB / 422.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-05/0.5475, allocations: 7.984 kB / 422.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.5475, allocations: 7.406 kB / 422.9 MB, free: 13.51 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.0001038/0.5477, allocations: 109 kB / 423 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.5478, allocations: 60.91 kB / 423.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.5479, allocations: 10.97 kB / 423.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5479, allocations: 0 / 423.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5479, allocations: 0 / 423.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5479, allocations: 4 kB / 423.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.5482, allocations: 175.8 kB / 423.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5482, allocations: 0 / 423.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.5484, allocations: 12 kB / 423.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5484, allocations: 7.984 kB / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.5484, allocations: 0 / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.5484, allocations: 3.984 kB / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5484, allocations: 8 kB / 423.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.5487, allocations: 268.7 kB / 423.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.995e-05/0.5488, allocations: 100.9 kB / 423.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.5489, allocations: 2.75 kB / 423.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.549, allocations: 7.984 kB / 423.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.5491, allocations: 4 kB / 423.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.5491, allocations: 0 / 423.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.5492, allocations: 110.8 kB / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5493, allocations: 0 / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.5496, allocations: 12 kB / 423.8 MB, free: 12.56 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0006279/0.5503, allocations: 0.9426 MB / 424.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.5504, allocations: 23.42 kB / 424.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5504, allocations: 4 kB / 424.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.5505, allocations: 11.19 kB / 424.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.5509, allocations: 37.41 kB / 424.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.5516, allocations: 186.8 kB / 425 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.5519, allocations: 0.7038 MB / 425.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.552, allocations: 14.61 kB / 425.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.552, allocations: 0 / 425.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.528/3.08, allocations: 1.159 MB / 426.8 MB, free: 9.43 MB / 346.7 MB