Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadModel(Modelica_Synchronous): time 1.974/1.974, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.416e-05, allocations: 6.031 kB / 284.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09425, allocations: 50.37 MB / 334.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.504, allocations: 79.91 MB / 414.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5043, allocations: 82.25 kB / 414.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01973/0.524, allocations: 4.583 MB / 419.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.411e-06/0.5241, allocations: 4 kB / 419.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.5241, allocations: 0 / 419.3 MB, free: 10.4 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.0007067/0.5248, allocations: 458.4 kB / 419.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5249, allocations: 8.031 kB / 419.7 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.5249, allocations: 15.81 kB / 419.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.5254, allocations: 239.6 kB / 420 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.5254, allocations: 7.688 kB / 420 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.5255, allocations: 10.69 kB / 420 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.5261, allocations: 292.3 kB / 420.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5261, allocations: 0 / 420.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5262, allocations: 3.938 kB / 420.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.5262, allocations: 4 kB / 420.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.5264, allocations: 66.3 kB / 420.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.527, allocations: 351.9 kB / 420.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.5274, allocations: 228.2 kB / 420.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.5276, allocations: 92.2 kB / 421 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.5284, allocations: 0.5739 MB / 421.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5284, allocations: 34.19 kB / 421.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.009e-06/0.5285, allocations: 4 kB / 421.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004272/0.5289, allocations: 157.2 kB / 421.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.529, allocations: 113.7 kB / 421.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.5293, allocations: 174.5 kB / 422.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.5293, allocations: 29.2 kB / 422.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.5294, allocations: 110.2 kB / 422.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.5295, allocations: 11.47 kB / 422.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-06/0.5295, allocations: 3.625 kB / 422.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5297, allocations: 334.1 kB / 422.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.5298, allocations: 31.06 kB / 422.6 MB, free: 7.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.53, allocations: 159.5 kB / 422.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.5301, allocations: 58.81 kB / 422.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.782e-06/0.5301, allocations: 8 kB / 422.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004049/0.5305, allocations: 185.2 kB / 423 MB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5306, allocations: 14.5 kB / 423 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5306, allocations: 4 kB / 423 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5306, allocations: 11.95 kB / 423 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.5309, allocations: 43.91 kB / 423 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.5309, allocations: 8 kB / 423.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.5311, allocations: 19.36 kB / 423.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5311, allocations: 15.25 kB / 423.1 MB, free: 6.508 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 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.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.0001317/0.5312, allocations: 126.3 kB / 423.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.5316, allocations: 147.2 kB / 423.4 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.532, allocations: 158.3 kB / 423.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.532, allocations: 4 kB / 423.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.352e-06/0.532, allocations: 3.953 kB / 423.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.532, allocations: 0 / 423.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.5324, allocations: 231.2 kB / 423.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5324, allocations: 4 kB / 423.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.5326, allocations: 39.91 kB / 423.8 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.048e-06/0.5326, allocations: 4 kB / 423.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.5327, allocations: 7.938 kB / 423.8 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5327, allocations: 0 / 423.8 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.148e-06/0.5327, allocations: 0 / 423.8 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.5331, allocations: 268.1 kB / 424.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.5333, allocations: 115.9 kB / 424.2 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.5333, allocations: 11.81 kB / 424.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.5335, allocations: 15.05 kB / 424.2 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.5336, allocations: 0 / 424.2 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.5336, allocations: 4 kB / 424.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.5338, allocations: 146.7 kB / 424.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.5338, allocations: 0 / 424.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.5343, allocations: 38.56 kB / 424.4 MB, free: 5.281 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 (sample.noise.seedState[1],sample.noise.seedState[2],sample.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.0001998/0.5345, allocations: 119 kB / 424.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.5348, allocations: 112.2 kB / 424.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.95e-06/0.5348, allocations: 0 / 424.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.5349, allocations: 3.812 kB / 424.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.5354, allocations: 147 kB / 424.8 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.536, allocations: 214.4 kB / 425 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5365, allocations: 0.7394 MB / 425.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.655e-05/0.5366, allocations: 13.33 kB / 425.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.5367, allocations: 27.42 kB / 425.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.504e-06/0.5367, allocations: 0 / 425.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of Templates: time 0.006848/0.5435, allocations: 2.076 MB / 427.8 MB, free: 1.879 MB / 346.7 MB