Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadModel(Modelica_Synchronous): time 1.958/1.958, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.057e-05, allocations: 4 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09095, allocations: 50.37 MB / 334.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5247, allocations: 78.39 MB / 413.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003994/0.5252, allocations: 76.56 kB / 413.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00819/0.5334, allocations: 1.376 MB / 414.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.838e-06/0.5334, allocations: 0 / 414.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.839e-05/0.5335, allocations: 4 kB / 414.5 MB, free: 14.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000674/0.5342, allocations: 351.7 kB / 414.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.5343, allocations: 19.97 kB / 414.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.5344, allocations: 15.69 kB / 414.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.5348, allocations: 190.8 kB / 415.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5348, allocations: 7.75 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.5349, allocations: 7.953 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.5355, allocations: 161.2 kB / 415.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.5356, allocations: 3.938 kB / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.5356, allocations: 4 kB / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.648e-06/0.5357, allocations: 0 / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.5358, allocations: 27.17 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008711/0.5367, allocations: 380.9 kB / 415.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.5372, allocations: 103.5 kB / 415.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5374, allocations: 46.08 kB / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.5375, allocations: 8 kB / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.5375, allocations: 34.5 kB / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 4.037e-06/0.5375, allocations: 0 / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005194/0.5381, allocations: 93.22 kB / 415.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.5382, allocations: 110.4 kB / 416.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5385, allocations: 128 kB / 416.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.5386, allocations: 28.89 kB / 416.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5387, allocations: 154.9 kB / 416.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.5388, allocations: 11.84 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-06/0.5388, allocations: 0 / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.539, allocations: 322.7 kB / 416.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.5391, allocations: 19.69 kB / 416.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5393, allocations: 63.55 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5394, allocations: 23.86 kB / 416.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.313e-06/0.5394, allocations: 4 kB / 416.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003708/0.5398, allocations: 81.31 kB / 416.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5399, allocations: 8 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.5399, allocations: 4 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.54, allocations: 8.266 kB / 416.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.5402, allocations: 23.69 kB / 416.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.5402, allocations: 7.938 kB / 416.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.5404, allocations: 11.89 kB / 416.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.5405, allocations: 4 kB / 416.9 MB, free: 12.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001464/0.5406, allocations: 116.8 kB / 417.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.541, allocations: 76.72 kB / 417.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.5411, allocations: 16.5 kB / 417.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5411, allocations: 4 kB / 417.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-06/0.5411, allocations: 3.938 kB / 417.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.5412, allocations: 4 kB / 417.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.5418, allocations: 184.2 kB / 417.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-06/0.5418, allocations: 0 / 417.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.5421, allocations: 19.98 kB / 417.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.237e-06/0.5421, allocations: 0 / 417.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.5421, allocations: 7.875 kB / 417.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.111e-06/0.5422, allocations: 0 / 417.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.481e-06/0.5422, allocations: 0 / 417.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.5429, allocations: 330 kB / 417.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.5431, allocations: 104.8 kB / 417.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.5432, allocations: 0 / 417.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.5435, allocations: 8 kB / 417.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.5436, allocations: 3.984 kB / 417.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.5437, allocations: 4 kB / 417.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.5438, allocations: 105.8 kB / 417.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.5439, allocations: 0 / 417.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008804/0.5448, allocations: 11.88 kB / 417.9 MB, free: 11 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001782/0.545, allocations: 98.94 kB / 418 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.5453, allocations: 51.56 kB / 418.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.235e-06/0.5453, allocations: 3.938 kB / 418.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.5453, allocations: 4 kB / 418.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.5461, allocations: 43.33 kB / 418.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.5468, allocations: 164.4 kB / 418.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.5474, allocations: 0.7121 MB / 419 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.5475, allocations: 11.44 kB / 419 MB, free: 9.887 MB / 346.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5475, allocations: 0 / 419 MB, free: 9.887 MB / 346.7 MB Notification: Performance of Templates: time 0.004563/0.5521, allocations: 0.8927 MB / 419.9 MB, free: 9 MB / 346.7 MB