Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.185/2.185, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.588e-05, allocations: 4 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08952, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.4705, allocations: 78.7 MB / 413.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4708, allocations: 77.95 kB / 413.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005936/0.4767, allocations: 1.542 MB / 415 MB, free: 14.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4768, allocations: 0 / 415 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4768, allocations: 0 / 415 MB, free: 14.15 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004356/0.4772, allocations: 358.1 kB / 415.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4773, allocations: 12.03 kB / 415.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.4774, allocations: 15.75 kB / 415.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.4776, allocations: 195.4 kB / 415.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4777, allocations: 11.58 kB / 415.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4777, allocations: 4 kB / 415.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.478, allocations: 121.9 kB / 415.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.478, allocations: 0 / 415.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.478, allocations: 0 / 415.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-06/0.478, allocations: 4 kB / 415.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.4781, allocations: 23.67 kB / 415.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.4787, allocations: 362.1 kB / 416.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4788, allocations: 86 kB / 416.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.4789, allocations: 43.25 kB / 416.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4789, allocations: 4 kB / 416.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.479, allocations: 38.55 kB / 416.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.48e-06/0.479, allocations: 0 / 416.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002623/0.4793, allocations: 73.09 kB / 416.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.4794, allocations: 136.4 kB / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.4796, allocations: 139 kB / 416.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4796, allocations: 25.7 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.4797, allocations: 162.7 kB / 416.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.4797, allocations: 3.906 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-06/0.4797, allocations: 0 / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4799, allocations: 318.8 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.4799, allocations: 4 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.48, allocations: 40.23 kB / 417.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.4801, allocations: 19.69 kB / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-06/0.4801, allocations: 0 / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001612/0.4803, allocations: 69.25 kB / 417.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4803, allocations: 8 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.721e-06/0.4803, allocations: 0 / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4803, allocations: 4 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4805, allocations: 12.11 kB / 417.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4805, allocations: 4 kB / 417.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.4806, allocations: 11.91 kB / 417.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4806, allocations: 0 / 417.3 MB, free: 11.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.466e-05/0.4807, allocations: 128 kB / 417.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4809, allocations: 57.5 kB / 417.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.481, allocations: 15.2 kB / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.703e-06/0.481, allocations: 4 kB / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.097e-06/0.481, allocations: 0 / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.362e-06/0.481, allocations: 0 / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.4813, allocations: 173.2 kB / 417.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.77e-06/0.4814, allocations: 7.953 kB / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.4815, allocations: 15.92 kB / 417.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-06/0.4815, allocations: 4 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4815, allocations: 4.062 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-06/0.4815, allocations: 4 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.643e-06/0.4816, allocations: 3.984 kB / 417.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.4819, allocations: 293.1 kB / 417.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.482, allocations: 92.88 kB / 418 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.482, allocations: 0 / 418 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4822, allocations: 4 kB / 418 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.4822, allocations: 11.61 kB / 418.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-06/0.4823, allocations: 7.875 kB / 418.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4824, allocations: 114.8 kB / 418.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.4824, allocations: 4 kB / 418.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003855/0.4828, allocations: 8 kB / 418.2 MB, free: 10.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001306/0.4829, allocations: 99.06 kB / 418.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.4831, allocations: 27.81 kB / 418.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.809e-06/0.4831, allocations: 0 / 418.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.4831, allocations: 11.8 kB / 418.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.4836, allocations: 24.16 kB / 418.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.484, allocations: 166 kB / 418.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4844, allocations: 0.7004 MB / 419.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.4845, allocations: 11.44 kB / 419.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of SimCode: time 2.115e-06/0.4845, allocations: 0 / 419.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of Templates: time 0.002839/0.4873, allocations: 0.9008 MB / 420.1 MB, free: 8.723 MB / 346.7 MB