Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.422e-05, allocations: 7.797 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09701, allocations: 50.4 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5346/0.6317, allocations: 76.49 MB / 419 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/0.6321, allocations: 75.77 kB / 419.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005301/0.6374, allocations: 1.032 MB / 420.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.275e-06/0.6375, allocations: 0 / 420.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.6375, allocations: 7.938 kB / 420.2 MB, free: 0.7305 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004889/0.6381, allocations: 336.6 kB / 420.5 MB, free: 368 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.6381, allocations: 8.031 kB / 420.5 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.6382, allocations: 7.953 kB / 420.5 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.6385, allocations: 187.2 kB / 420.7 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6386, allocations: 0 / 420.7 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.6386, allocations: 6.438 kB / 420.7 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.6389, allocations: 84.05 kB / 420.8 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6389, allocations: 0 / 420.8 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.639, allocations: 7.922 kB / 420.8 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-06/0.639, allocations: 4 kB / 420.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.6391, allocations: 7.953 kB / 420.8 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.6396, allocations: 256.6 kB / 421 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.6398, allocations: 45.12 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.6398, allocations: 13.78 kB / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.6399, allocations: 0 / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.6399, allocations: 37.92 kB / 421.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.318e-06/0.64, allocations: 0 / 421.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000252/0.6402, allocations: 53.5 kB / 421.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.6403, allocations: 77.11 kB / 421.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.6405, allocations: 119.5 kB / 421.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.6406, allocations: 25.7 kB / 421.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.6407, allocations: 87.75 kB / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.6407, allocations: 0 / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.6407, allocations: 0 / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.641, allocations: 318.3 kB / 421.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.641, allocations: 8 kB / 421.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.6411, allocations: 13.72 kB / 421.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.6411, allocations: 3.812 kB / 421.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.7e-06/0.6411, allocations: 4 kB / 421.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001572/0.6413, allocations: 45.53 kB / 421.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.6413, allocations: 4 kB / 421.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-06/0.6414, allocations: 4.125 kB / 421.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.6414, allocations: 4 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.559e-05/0.6415, allocations: 3.953 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.311e-06/0.6415, allocations: 0 / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.6416, allocations: 0 / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.6416, allocations: 4 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001147/0.6417, allocations: 105.5 kB / 422 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6419, allocations: 45.56 kB / 422 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.642, allocations: 7.375 kB / 422.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-06/0.642, allocations: 8 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.642, allocations: 3.953 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.676e-06/0.642, allocations: 0 / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.6424, allocations: 161.1 kB / 422.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-06/0.6424, allocations: 0 / 422.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.6425, allocations: 0 / 422.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.6425, allocations: 4 kB / 422.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.14e-06/0.6425, allocations: 0 / 422.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.316e-06/0.6425, allocations: 4 kB / 422.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.898e-06/0.6426, allocations: 0 / 422.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.6428, allocations: 164.9 kB / 422.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.643, allocations: 96.06 kB / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.643, allocations: 0 / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.6432, allocations: 4 kB / 422.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.6433, allocations: 3.953 kB / 422.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6433, allocations: 8.031 kB / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.6434, allocations: 102.1 kB / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.07e-06/0.6435, allocations: 0 / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005823/0.6441, allocations: 7.562 kB / 422.6 MB, free: 14.02 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001763/0.6443, allocations: 99.25 kB / 422.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.6444, allocations: 8 kB / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.902e-06/0.6444, allocations: 0 / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.6445, allocations: 2.875 kB / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.6449, allocations: 31.33 kB / 422.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.6453, allocations: 88.84 kB / 422.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.6458, allocations: 0.6848 MB / 423.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.526e-05/0.6459, allocations: 8.484 kB / 423.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.646, allocations: 10.25 kB / 423.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.851e-06/0.646, allocations: 0 / 423.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Templates: time 0.004269/0.6503, allocations: 391.2 kB / 423.9 MB, free: 12.66 MB / 346.7 MB