Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.963e-05, allocations: 0 / 292.2 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09073, allocations: 50.4 MB / 342.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.4928, allocations: 76.55 MB / 419.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4931, allocations: 78.14 kB / 419.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004419/0.4975, allocations: 1.214 MB / 420.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.588e-06/0.4976, allocations: 3.938 kB / 420.4 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4976, allocations: 0 / 420.4 MB, free: 0.5039 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004121/0.498, allocations: 343.9 kB / 420.7 MB, free: 132 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4981, allocations: 8.031 kB / 420.7 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.4981, allocations: 15.86 kB / 420.8 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.4984, allocations: 190.6 kB / 420.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.4985, allocations: 7.562 kB / 421 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4985, allocations: 4 kB / 421 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.4988, allocations: 109 kB / 421.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.75e-06/0.4988, allocations: 0 / 421.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4988, allocations: 7.938 kB / 421.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-06/0.4989, allocations: 0 / 421.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.4989, allocations: 27.69 kB / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4995, allocations: 355.7 kB / 421.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.4996, allocations: 63.84 kB / 421.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.4997, allocations: 31.55 kB / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.4997, allocations: 4 kB / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4998, allocations: 38.48 kB / 421.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.457e-06/0.4998, allocations: 3.938 kB / 421.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002415/0.5, allocations: 69.36 kB / 421.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.5001, allocations: 110.1 kB / 421.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5003, allocations: 123.5 kB / 421.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.5003, allocations: 25.7 kB / 421.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.5004, allocations: 95.34 kB / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.5004, allocations: 0 / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-06/0.5004, allocations: 3.812 kB / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5006, allocations: 318.9 kB / 422.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.5006, allocations: 11.36 kB / 422.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.5007, allocations: 31.19 kB / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.5007, allocations: 8 kB / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-06/0.5008, allocations: 4 kB / 422.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.5009, allocations: 68.39 kB / 422.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.501, allocations: 8 kB / 422.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.644e-06/0.501, allocations: 0 / 422.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.501, allocations: 7.891 kB / 422.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/0.501, allocations: 4 kB / 422.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.118e-06/0.5011, allocations: 0 / 422.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.5011, allocations: 4 kB / 422.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.269e-06/0.5012, allocations: 4.125 kB / 422.5 MB, free: 14.26 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[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 0.0001054/0.5013, allocations: 112.7 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5014, allocations: 53.61 kB / 422.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.5015, allocations: 11.64 kB / 422.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-06/0.5015, allocations: 0 / 422.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.294e-06/0.5015, allocations: 7.953 kB / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5015, allocations: 0 / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.5018, allocations: 171.1 kB / 422.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-06/0.5019, allocations: 32 / 422.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.5019, allocations: 4 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.677e-06/0.5019, allocations: 4 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-06/0.5019, allocations: 0 / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.5019, allocations: 3.984 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.163e-06/0.502, allocations: 4 kB / 422.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.5022, allocations: 264.8 kB / 423.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5023, allocations: 96.19 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.5024, allocations: 7.953 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5026, allocations: 7.984 kB / 423.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.5026, allocations: 0 / 423.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.5026, allocations: 4 kB / 423.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.949e-05/0.5027, allocations: 106.3 kB / 423.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.5028, allocations: 4 kB / 423.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.5031, allocations: 7.938 kB / 423.3 MB, free: 13.34 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0001565/0.5033, allocations: 103.2 kB / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.5035, allocations: 31.48 kB / 423.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.179e-06/0.5035, allocations: 0 / 423.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.5035, allocations: 4 kB / 423.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5039, allocations: 28.2 kB / 423.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.5043, allocations: 128.2 kB / 423.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5047, allocations: 0.7003 MB / 424.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.5047, allocations: 8.172 kB / 424.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.5048, allocations: 7.438 kB / 424.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.456e-06/0.5048, allocations: 4 kB / 424.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of Templates: time 0.003292/0.5081, allocations: 0.5375 MB / 424.9 MB, free: 11.77 MB / 346.7 MB