Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.443/2.443, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09853/0.09853, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.467e-05, allocations: 4 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.37, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001767/0.3719, allocations: 1.232 MB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.3723, allocations: 139.6 kB / 460.6 MB, free: 27.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.3724, allocations: 4 kB / 460.6 MB, free: 27.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.277e-05/0.3725, allocations: 7.938 kB / 460.6 MB, free: 27.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.3726, allocations: 0 / 460.6 MB, free: 27.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3728, allocations: 39.83 kB / 460.6 MB, free: 27.19 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.3729, allocations: 23.91 kB / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.373, allocations: 12 kB / 460.7 MB, free: 27.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.3731, allocations: 7.984 kB / 460.7 MB, free: 27.15 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.3731, allocations: 15.94 kB / 460.7 MB, free: 27.13 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.3731, allocations: 0 / 460.7 MB, free: 27.13 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3732, allocations: 0 / 460.7 MB, free: 27.13 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.3732, allocations: 19.91 kB / 460.7 MB, free: 27.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.3732, allocations: 0 / 460.7 MB, free: 27.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.072e-05/0.3733, allocations: 31.95 kB / 460.7 MB, free: 27.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3733, allocations: 0 / 460.7 MB, free: 27.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3733, allocations: 3.984 kB / 460.7 MB, free: 27.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3734, allocations: 4 kB / 460.7 MB, free: 27.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004176/0.3738, allocations: 361.9 kB / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3738, allocations: 8.031 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3739, allocations: 7.906 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3741, allocations: 208.8 kB / 461.3 MB, free: 26.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3741, allocations: 0 / 461.3 MB, free: 26.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3741, allocations: 8 kB / 461.3 MB, free: 26.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.3745, allocations: 125.9 kB / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3745, allocations: 0 / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3745, allocations: 0 / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.3746, allocations: 4 kB / 461.4 MB, free: 26.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3748, allocations: 47.91 kB / 461.5 MB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3752, allocations: 381.8 kB / 461.9 MB, free: 25.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3754, allocations: 83.78 kB / 461.9 MB, free: 25.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3754, allocations: 4 kB / 461.9 MB, free: 25.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3755, allocations: 30.56 kB / 462 MB, free: 25.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.3755, allocations: 0 / 462 MB, free: 25.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005029/0.376, allocations: 214.8 kB / 462.2 MB, free: 25.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.376, allocations: 106.8 kB / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3762, allocations: 130.5 kB / 462.4 MB, free: 25.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3762, allocations: 29.69 kB / 462.4 MB, free: 25.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.3763, allocations: 88.14 kB / 462.5 MB, free: 25.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.3763, allocations: 3.906 kB / 462.5 MB, free: 25.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.3763, allocations: 4.062 kB / 462.5 MB, free: 25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.3764, allocations: 322.8 kB / 462.9 MB, free: 24.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3765, allocations: 15.98 kB / 462.9 MB, free: 24.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3766, allocations: 43.42 kB / 462.9 MB, free: 24.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3767, allocations: 31.92 kB / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3767, allocations: 0 / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002644/0.377, allocations: 89.59 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.377, allocations: 4 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3771, allocations: 4 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3771, allocations: 3.953 kB / 463 MB, free: 24.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3772, allocations: 19.92 kB / 463.1 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3772, allocations: 0 / 463.1 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.3773, allocations: 4.125 kB / 463.1 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3773, allocations: 12 kB / 463.1 MB, free: 24.44 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 (sample.u[2],sample.u[1],sample.y[2],sample.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.0001059/0.3775, allocations: 129.8 kB / 463.2 MB, free: 24.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3776, allocations: 53.59 kB / 463.3 MB, free: 24.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.3776, allocations: 7.875 kB / 463.3 MB, free: 24.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.3776, allocations: 4 kB / 463.3 MB, free: 24.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3777, allocations: 3.953 kB / 463.3 MB, free: 24.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3777, allocations: 4 kB / 463.3 MB, free: 24.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3779, allocations: 177.5 kB / 463.5 MB, free: 24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3779, allocations: 4.031 kB / 463.5 MB, free: 24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.378, allocations: 8 kB / 463.5 MB, free: 23.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.378, allocations: 0 / 463.5 MB, free: 23.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.378, allocations: 4 kB / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3781, allocations: 0 / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3781, allocations: 7.922 kB / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3784, allocations: 295 kB / 463.8 MB, free: 23.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.3785, allocations: 89.09 kB / 463.9 MB, free: 23.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3785, allocations: 7.953 kB / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3787, allocations: 8 kB / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3787, allocations: 7.984 kB / 463.9 MB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3787, allocations: 0 / 463.9 MB, free: 23.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.749e-05/0.3788, allocations: 105.5 kB / 464 MB, free: 23.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3788, allocations: 0 / 464 MB, free: 23.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.3792, allocations: 15.84 kB / 464 MB, free: 23.41 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 (sample.u[2],sample.u[1],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000104/0.3793, allocations: 111.1 kB / 464.1 MB, free: 23.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.3796, allocations: 51.97 kB / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3796, allocations: 0 / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3797, allocations: 24.23 kB / 464.2 MB, free: 23.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3801, allocations: 28.22 kB / 464.2 MB, free: 23.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.3805, allocations: 186.3 kB / 464.4 MB, free: 22.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3807, allocations: 0.7005 MB / 465.1 MB, free: 22.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.3807, allocations: 11.97 kB / 465.1 MB, free: 22.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3808, allocations: 11.44 kB / 465.1 MB, free: 22.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3808, allocations: 0 / 465.1 MB, free: 22.22 MB / 346.7 MB Notification: Performance of Templates: time 0.003282/0.3841, allocations: 0.5434 MB / 465.7 MB, free: 21.69 MB / 346.7 MB