Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadModel(Modelica_Synchronous): time 1.973/1.973, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.295e-05, allocations: 4 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.088, allocations: 50.37 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.4795, allocations: 79.81 MB / 414.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4798, allocations: 83.06 kB / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009713/0.4896, allocations: 2.322 MB / 416.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.08e-06/0.4896, allocations: 0 / 416.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.4896, allocations: 8 kB / 416.9 MB, free: 12.38 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005787/0.4902, allocations: 404.5 kB / 417.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4903, allocations: 8.031 kB / 417.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.4904, allocations: 19.72 kB / 417.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.4908, allocations: 244.6 kB / 417.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.4908, allocations: 11.45 kB / 417.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4908, allocations: 11.19 kB / 417.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.4914, allocations: 244.7 kB / 417.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4914, allocations: 4 kB / 417.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4915, allocations: 7.25 kB / 417.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-06/0.4915, allocations: 4 kB / 417.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.4916, allocations: 41.44 kB / 417.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.4923, allocations: 440 kB / 418.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.4928, allocations: 263.9 kB / 418.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.493, allocations: 92.59 kB / 418.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.4931, allocations: 10.98 kB / 418.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4931, allocations: 41.5 kB / 418.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.387e-06/0.4931, allocations: 4 kB / 418.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004096/0.4935, allocations: 135.6 kB / 418.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.4937, allocations: 194.6 kB / 419 MB, free: 10.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4939, allocations: 161.6 kB / 419.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.494, allocations: 29.08 kB / 419.2 MB, free: 9.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.4941, allocations: 169 kB / 419.4 MB, free: 9.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4941, allocations: 14.78 kB / 419.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-06/0.4941, allocations: 0 / 419.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4943, allocations: 322.7 kB / 419.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.4944, allocations: 18.19 kB / 419.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.4945, allocations: 121.6 kB / 419.8 MB, free: 9.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.44e-05/0.4946, allocations: 39.7 kB / 419.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-06/0.4947, allocations: 0 / 419.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003044/0.495, allocations: 136.5 kB / 420 MB, free: 9.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.495, allocations: 8 kB / 420 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.495, allocations: 4 kB / 420 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.4951, allocations: 4.5 kB / 420 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4953, allocations: 40.02 kB / 420.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.4953, allocations: 11.88 kB / 420.1 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4955, allocations: 15.66 kB / 420.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.4955, allocations: 8 kB / 420.1 MB, free: 9.062 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000117/0.4956, allocations: 128.1 kB / 420.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.4959, allocations: 118.6 kB / 420.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.496, allocations: 19.95 kB / 420.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.496, allocations: 8.031 kB / 420.4 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.654e-06/0.4961, allocations: 4 kB / 420.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-06/0.4961, allocations: 0 / 420.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.4965, allocations: 229.2 kB / 420.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.256e-06/0.4965, allocations: 0 / 420.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.4967, allocations: 31.98 kB / 420.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.4968, allocations: 7.984 kB / 420.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.4968, allocations: 7.625 kB / 420.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.4968, allocations: 3.938 kB / 420.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4968, allocations: 4 kB / 420.7 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.4973, allocations: 371.2 kB / 421 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.4974, allocations: 115.4 kB / 421.1 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.4975, allocations: 4 kB / 421.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4977, allocations: 19.44 kB / 421.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4978, allocations: 4 kB / 421.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.4978, allocations: 7.188 kB / 421.2 MB, free: 7.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.4979, allocations: 138.5 kB / 421.3 MB, free: 7.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.498, allocations: 4 kB / 421.3 MB, free: 7.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004657/0.4984, allocations: 22.62 kB / 421.3 MB, free: 7.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001357/0.4986, allocations: 95.95 kB / 421.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.4989, allocations: 94.14 kB / 421.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.228e-06/0.4989, allocations: 4.938 kB / 421.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.4989, allocations: 7.125 kB / 421.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.4995, allocations: 92.81 kB / 421.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5007, allocations: 349 kB / 422 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5012, allocations: 0.7312 MB / 422.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.5013, allocations: 15.44 kB / 422.7 MB, free: 6.465 MB / 346.7 MB Notification: Performance of SimCode: time 1.881e-06/0.5013, allocations: 3.938 kB / 422.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of Templates: time 0.004135/0.5054, allocations: 1.719 MB / 424.4 MB, free: 4.762 MB / 346.7 MB