Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadModel(Modelica_Synchronous): time 1.999/1.999, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.174e-05, allocations: 4 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08754, allocations: 50.37 MB / 334.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4709, allocations: 79.81 MB / 414.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4712, allocations: 74.7 kB / 414.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009339/0.4806, allocations: 2.375 MB / 416.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.131e-06/0.4806, allocations: 8 kB / 416.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.4807, allocations: 4 kB / 417 MB, free: 12.32 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.0005689/0.4812, allocations: 413.3 kB / 417.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4813, allocations: 8.031 kB / 417.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.4814, allocations: 19.72 kB / 417.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.4817, allocations: 245 kB / 417.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.4818, allocations: 12.14 kB / 417.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4818, allocations: 7.688 kB / 417.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.4824, allocations: 261.3 kB / 417.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4824, allocations: 3.984 kB / 417.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4825, allocations: 3.125 kB / 417.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.464e-06/0.4825, allocations: 4 kB / 417.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4826, allocations: 47.88 kB / 418 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.4833, allocations: 434.1 kB / 418.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.4838, allocations: 273.7 kB / 418.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.484, allocations: 90.66 kB / 418.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.484, allocations: 4 kB / 418.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4841, allocations: 45.69 kB / 418.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.596e-06/0.4841, allocations: 0 / 418.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004139/0.4845, allocations: 133.9 kB / 418.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.4847, allocations: 205.9 kB / 419.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.4849, allocations: 154.8 kB / 419.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.485, allocations: 37.55 kB / 419.3 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4851, allocations: 161.6 kB / 419.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.4851, allocations: 18.39 kB / 419.5 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-06/0.4851, allocations: 0 / 419.5 MB, free: 9.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4853, allocations: 318.3 kB / 419.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.4854, allocations: 18.75 kB / 419.8 MB, free: 9.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.4855, allocations: 134.5 kB / 419.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.815e-05/0.4857, allocations: 38.64 kB / 420 MB, free: 9.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.233e-06/0.4857, allocations: 4 kB / 420 MB, free: 9.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003312/0.486, allocations: 145.7 kB / 420.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4861, allocations: 12.03 kB / 420.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4861, allocations: 7.984 kB / 420.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4861, allocations: 7.953 kB / 420.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.4863, allocations: 39.92 kB / 420.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4864, allocations: 4 kB / 420.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4865, allocations: 15.34 kB / 420.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.4866, allocations: 8 kB / 420.2 MB, free: 8.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001252/0.4867, allocations: 131.5 kB / 420.3 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.487, allocations: 122.2 kB / 420.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.4871, allocations: 23.64 kB / 420.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4871, allocations: 7.953 kB / 420.5 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4872, allocations: 8 kB / 420.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4872, allocations: 0 / 420.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.4876, allocations: 223.3 kB / 420.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4876, allocations: 0 / 420.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.4878, allocations: 43.91 kB / 420.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-06/0.4879, allocations: 4.031 kB / 420.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4879, allocations: 7.062 kB / 420.8 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.208e-06/0.4879, allocations: 7.938 kB / 420.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.789e-06/0.4879, allocations: 3.953 kB / 420.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.4884, allocations: 385.5 kB / 421.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4885, allocations: 103.9 kB / 421.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.4886, allocations: 11.36 kB / 421.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4888, allocations: 11.38 kB / 421.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.4889, allocations: 11.98 kB / 421.3 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4889, allocations: 4.094 kB / 421.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.4891, allocations: 133.9 kB / 421.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.4891, allocations: 0 / 421.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004788/0.4896, allocations: 18.88 kB / 421.5 MB, free: 7.719 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 (18): * Single equations (assignments): 18 * 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.0001489/0.4897, allocations: 115.1 kB / 421.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.49, allocations: 91.86 kB / 421.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.378e-06/0.49, allocations: 0 / 421.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.4901, allocations: 7.062 kB / 421.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.4907, allocations: 95.33 kB / 421.8 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.4913, allocations: 248.5 kB / 422 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.4918, allocations: 0.7358 MB / 422.7 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.4919, allocations: 15.44 kB / 422.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of SimCode: time 2.163e-06/0.4919, allocations: 0 / 422.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of Templates: time 0.004483/0.4964, allocations: 1.774 MB / 424.5 MB, free: 4.672 MB / 346.7 MB