Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.672e-05, allocations: 8 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 50.4 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.578, allocations: 78.97 MB / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5784, allocations: 82.14 kB / 421.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02175/0.6002, allocations: 4.781 MB / 426.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6002, allocations: 0 / 426.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.6002, allocations: 4 kB / 426.5 MB, free: 10.7 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007309/0.601, allocations: 441.7 kB / 426.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.601, allocations: 12.03 kB / 426.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.157e-05/0.6011, allocations: 53.22 kB / 427 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.6012, allocations: 19.72 kB / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.6016, allocations: 231.3 kB / 427.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.6016, allocations: 7.188 kB / 427.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.6017, allocations: 8 kB / 427.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.6024, allocations: 302 kB / 427.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6024, allocations: 0 / 427.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.6025, allocations: 3.625 kB / 427.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.6025, allocations: 4 kB / 427.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.6027, allocations: 55.23 kB / 427.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.6033, allocations: 350.8 kB / 427.9 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.6037, allocations: 228.1 kB / 428.1 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.604, allocations: 92.83 kB / 428.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/0.6048, allocations: 0.5772 MB / 428.8 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.6048, allocations: 38.59 kB / 428.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.6048, allocations: 0 / 428.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.000433/0.6053, allocations: 149.4 kB / 429 MB, free: 8.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.6054, allocations: 110.6 kB / 429.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.6056, allocations: 179.3 kB / 429.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.6057, allocations: 29.7 kB / 429.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.6058, allocations: 162.1 kB / 429.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.6058, allocations: 21.72 kB / 429.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.6058, allocations: 3.188 kB / 429.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.606, allocations: 325.9 kB / 429.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.6061, allocations: 42.39 kB / 429.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.6063, allocations: 157.4 kB / 430 MB, free: 7.031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.6064, allocations: 57.81 kB / 430.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6064, allocations: 4 kB / 430.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003998/0.6068, allocations: 185.4 kB / 430.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6069, allocations: 8.594 kB / 430.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6069, allocations: 4 kB / 430.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6069, allocations: 8 kB / 430.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.6072, allocations: 46.36 kB / 430.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.6073, allocations: 11.92 kB / 430.3 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6074, allocations: 15.47 kB / 430.3 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.6075, allocations: 12 kB / 430.3 MB, free: 6.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001234/0.6076, allocations: 131.8 kB / 430.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.6079, allocations: 140.2 kB / 430.6 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.6083, allocations: 156.7 kB / 430.8 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6084, allocations: 4 kB / 430.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6084, allocations: 4 kB / 430.8 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6084, allocations: 7.969 kB / 430.8 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.6087, allocations: 242.8 kB / 431 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6087, allocations: 0 / 431 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.609, allocations: 31.98 kB / 431 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.609, allocations: 0 / 431 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.6091, allocations: 14.73 kB / 431.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6091, allocations: 0 / 431.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6091, allocations: 0 / 431.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.6095, allocations: 277.5 kB / 431.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.6097, allocations: 115.4 kB / 431.4 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.6097, allocations: 11.7 kB / 431.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.61, allocations: 17.86 kB / 431.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.61, allocations: 4 kB / 431.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.6101, allocations: 7.062 kB / 431.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.6102, allocations: 140.1 kB / 431.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6102, allocations: 0 / 431.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.6107, allocations: 31.94 kB / 431.6 MB, free: 5.492 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001016/0.6117, allocations: 0.947 MB / 432.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.6121, allocations: 116 kB / 432.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6121, allocations: 448 / 432.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.6121, allocations: 11.98 kB / 432.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.6128, allocations: 134.7 kB / 432.9 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.6137, allocations: 314.8 kB / 433.2 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.6141, allocations: 0.7398 MB / 433.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.6142, allocations: 47.42 kB / 433.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6142, allocations: 0 / 433.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.52/3.134, allocations: 2.852 MB / 436.8 MB, free: 468 kB / 346.7 MB