Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.393e-05, allocations: 4 kB / 292.1 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 50.41 MB / 342.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5438, allocations: 76.68 MB / 419.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5441, allocations: 72.48 kB / 419.3 MB, free: 1.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004097/0.5482, allocations: 1.156 MB / 420.5 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.082e-06/0.5483, allocations: 0 / 420.5 MB, free: 344 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.5483, allocations: 4 kB / 420.5 MB, free: 340 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004289/0.5487, allocations: 342 kB / 420.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5488, allocations: 8.031 kB / 420.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.5489, allocations: 11.86 kB / 420.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.5491, allocations: 190.1 kB / 421 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5491, allocations: 7.938 kB / 421 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.5492, allocations: 4 kB / 421 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.5494, allocations: 105.2 kB / 421.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.878e-06/0.5495, allocations: 0 / 421.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-06/0.5495, allocations: 4 kB / 421.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5495, allocations: 4 kB / 421.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.5496, allocations: 11.45 kB / 421.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.55, allocations: 265.4 kB / 421.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.5502, allocations: 134 kB / 421.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.5503, allocations: 25.61 kB / 421.6 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.5503, allocations: 0 / 421.6 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.5504, allocations: 42.5 kB / 421.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.162e-06/0.5504, allocations: 0 / 421.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.5506, allocations: 57.36 kB / 421.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.5507, allocations: 85.14 kB / 421.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.5508, allocations: 121 kB / 421.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.5509, allocations: 25.7 kB / 421.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.5509, allocations: 83.7 kB / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.551, allocations: 11.92 kB / 422 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-06/0.551, allocations: 0 / 422 MB, free: 14.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5512, allocations: 314.7 kB / 422.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.5512, allocations: 7.938 kB / 422.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.5512, allocations: 27.44 kB / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.5513, allocations: 9.094 kB / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-06/0.5513, allocations: 0 / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.5514, allocations: 61.38 kB / 422.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5515, allocations: 11.94 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-06/0.5515, allocations: 0 / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5515, allocations: 3.953 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5516, allocations: 11.98 kB / 422.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5516, allocations: 4 kB / 422.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.5517, allocations: 4 kB / 422.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-06/0.5517, allocations: 0 / 422.4 MB, free: 14.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.453e-05/0.5518, allocations: 120.9 kB / 422.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.552, allocations: 41.59 kB / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.552, allocations: 11.78 kB / 422.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-06/0.552, allocations: 192 / 422.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.552, allocations: 7.953 kB / 422.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-06/0.5521, allocations: 3.984 kB / 422.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.5523, allocations: 169.2 kB / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-06/0.5523, allocations: 0 / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.5524, allocations: 11.98 kB / 422.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-06/0.5524, allocations: 4 kB / 422.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-06/0.5525, allocations: 4 kB / 422.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.97e-06/0.5525, allocations: 0 / 422.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.684e-06/0.5525, allocations: 0 / 422.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.5527, allocations: 177.5 kB / 423 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.5528, allocations: 93 kB / 423.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.5528, allocations: 0 / 423.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.5529, allocations: 15.8 kB / 423.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.553, allocations: 3.953 kB / 423.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-06/0.553, allocations: 0 / 423.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.5531, allocations: 107.5 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.5531, allocations: 0 / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.5534, allocations: 4 kB / 423.2 MB, free: 13.36 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000134/0.5536, allocations: 99.25 kB / 423.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.5537, allocations: 23.69 kB / 423.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.5537, allocations: 0 / 423.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.5538, allocations: 4 kB / 423.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.5541, allocations: 23.77 kB / 423.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.5544, allocations: 96.97 kB / 423.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5548, allocations: 0.6965 MB / 424.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.5548, allocations: 4.312 kB / 424.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.5548, allocations: 11.44 kB / 424.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.657e-06/0.5549, allocations: 3.938 kB / 424.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of Templates: time 0.003175/0.558, allocations: 430.2 kB / 424.6 MB, free: 11.95 MB / 346.7 MB