Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.424e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09274, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.4944, allocations: 78.94 MB / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4946, allocations: 78.64 kB / 421.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01999/0.5147, allocations: 4.769 MB / 426.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.942e-06/0.5147, allocations: 0 / 426.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.5147, allocations: 8 kB / 426.4 MB, free: 11.08 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.0006719/0.5154, allocations: 452.1 kB / 426.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5155, allocations: 8.031 kB / 426.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.5155, allocations: 19.72 kB / 426.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.516, allocations: 236.1 kB / 427.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.516, allocations: 7.5 kB / 427.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.516, allocations: 11.44 kB / 427.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.5167, allocations: 295 kB / 427.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.279e-06/0.5167, allocations: 0 / 427.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.5168, allocations: 3.938 kB / 427.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-06/0.5168, allocations: 4 kB / 427.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.5169, allocations: 60.23 kB / 427.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.5175, allocations: 362 kB / 427.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.518, allocations: 226.5 kB / 428 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.5182, allocations: 89 kB / 428.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.5189, allocations: 0.5775 MB / 428.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.519, allocations: 30.56 kB / 428.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.683e-06/0.519, allocations: 4 kB / 428.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004096/0.5194, allocations: 154.1 kB / 428.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5195, allocations: 116 kB / 429 MB, free: 8.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.5198, allocations: 172.2 kB / 429.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.5198, allocations: 29.64 kB / 429.2 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.5199, allocations: 164.9 kB / 429.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.52, allocations: 19.72 kB / 429.3 MB, free: 8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-06/0.52, allocations: 3.375 kB / 429.3 MB, free: 8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5202, allocations: 326.6 kB / 429.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.5203, allocations: 31.19 kB / 429.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.5205, allocations: 158.7 kB / 429.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.5206, allocations: 65.5 kB / 429.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.363e-06/0.5206, allocations: 4 kB / 429.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003829/0.521, allocations: 178 kB / 430.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5211, allocations: 8.031 kB / 430.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5211, allocations: 4 kB / 430.1 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5211, allocations: 8 kB / 430.1 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.5213, allocations: 47.34 kB / 430.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.5214, allocations: 11.94 kB / 430.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.5215, allocations: 11.91 kB / 430.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.5216, allocations: 15.19 kB / 430.2 MB, free: 7.152 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 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.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.0001377/0.5217, allocations: 139.2 kB / 430.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.522, allocations: 137.7 kB / 430.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.5224, allocations: 155.9 kB / 430.6 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.437e-06/0.5224, allocations: 4 kB / 430.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5225, allocations: 0 / 430.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.858e-06/0.5225, allocations: 0 / 430.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.5228, allocations: 235.7 kB / 430.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5228, allocations: 0 / 430.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.523, allocations: 47.27 kB / 430.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5231, allocations: 0 / 430.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.5231, allocations: 4 kB / 430.9 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.161e-06/0.5231, allocations: 3.938 kB / 430.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5231, allocations: 0 / 430.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.5235, allocations: 272.2 kB / 431.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5237, allocations: 125.7 kB / 431.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.5238, allocations: 11.7 kB / 431.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.524, allocations: 11.98 kB / 431.3 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.524, allocations: 0 / 431.3 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.524, allocations: 7.625 kB / 431.3 MB, free: 6.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.5242, allocations: 141.8 kB / 431.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.5242, allocations: 0 / 431.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004334/0.5247, allocations: 31.44 kB / 431.5 MB, free: 5.922 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 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.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.0002043/0.5249, allocations: 123 kB / 431.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.5252, allocations: 111.9 kB / 431.7 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5252, allocations: 0 / 431.7 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.5253, allocations: 5.172 kB / 431.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.5258, allocations: 133.1 kB / 431.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.5265, allocations: 251.2 kB / 432.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.5269, allocations: 0.7392 MB / 432.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.527, allocations: 19.44 kB / 432.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.527, allocations: 0 / 432.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of Templates: time 0.005035/0.5321, allocations: 2.163 MB / 435 MB, free: 2.445 MB / 346.7 MB