Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|sum.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.378/2.378, allocations: 251.5 MB / 266 MB, free: 0.6719 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1056/0.1056, allocations: 12.61 MB / 336.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.076e-05, allocations: 7.984 kB / 399.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3848, allocations: 59.42 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample): time 0.002456/0.3873, allocations: 1.619 MB / 460.8 MB, free: 26.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3893, allocations: 0.9717 MB / 461.8 MB, free: 26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3895, allocations: 7.938 kB / 461.8 MB, free: 26 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.3898, allocations: 55.78 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.39, allocations: 71.7 kB / 461.9 MB, free: 25.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.391, allocations: 223.4 kB / 462.1 MB, free: 25.65 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3912, allocations: 99.77 kB / 462.2 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3913, allocations: 27.97 kB / 462.3 MB, free: 25.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3914, allocations: 67.83 kB / 462.3 MB, free: 25.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3916, allocations: 71.75 kB / 462.4 MB, free: 25.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3917, allocations: 47.84 kB / 462.4 MB, free: 25.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.3918, allocations: 8 kB / 462.4 MB, free: 25.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.3919, allocations: 55.83 kB / 462.5 MB, free: 25.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.3919, allocations: 8 kB / 462.5 MB, free: 25.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3922, allocations: 206.2 kB / 462.7 MB, free: 25.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3922, allocations: 0 / 462.7 MB, free: 25.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3923, allocations: 0 / 462.7 MB, free: 25.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3923, allocations: 0 / 462.7 MB, free: 25.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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007369/0.393, allocations: 0.5043 MB / 463.2 MB, free: 24.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3931, allocations: 11.97 kB / 463.2 MB, free: 24.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.3932, allocations: 31.62 kB / 463.3 MB, free: 24.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.3936, allocations: 290.4 kB / 463.5 MB, free: 24.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3937, allocations: 15.98 kB / 463.6 MB, free: 24.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3937, allocations: 12 kB / 463.6 MB, free: 24.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.3944, allocations: 320.9 kB / 463.9 MB, free: 23.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3944, allocations: 0 / 463.9 MB, free: 23.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3945, allocations: 15.89 kB / 463.9 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3945, allocations: 0 / 463.9 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.3947, allocations: 71.89 kB / 464 MB, free: 23.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.3954, allocations: 414.4 kB / 464.4 MB, free: 23.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.3959, allocations: 195.8 kB / 464.6 MB, free: 23.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.3959, allocations: 12.34 kB / 464.6 MB, free: 23.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.3961, allocations: 83.5 kB / 464.7 MB, free: 22.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.415e-06/0.3962, allocations: 0 / 464.7 MB, free: 22.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.000748/0.3969, allocations: 249.1 kB / 464.9 MB, free: 22.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.397, allocations: 166.2 kB / 465.1 MB, free: 22.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.3974, allocations: 318 kB / 465.4 MB, free: 22.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3975, allocations: 33.7 kB / 465.4 MB, free: 22.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.3976, allocations: 128.7 kB / 465.5 MB, free: 21.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3976, allocations: 35.69 kB / 465.6 MB, free: 21.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.3976, allocations: 0 / 465.6 MB, free: 21.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.3977, allocations: 342.8 kB / 465.9 MB, free: 21.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3979, allocations: 40.39 kB / 465.9 MB, free: 21.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3981, allocations: 189.6 kB / 466.1 MB, free: 21.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3983, allocations: 67.92 kB / 466.2 MB, free: 21.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3983, allocations: 0 / 466.2 MB, free: 21.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000505/0.3988, allocations: 237.4 kB / 466.4 MB, free: 21.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3989, allocations: 9.531 kB / 466.4 MB, free: 21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3989, allocations: 4 kB / 466.4 MB, free: 21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3989, allocations: 8 kB / 466.4 MB, free: 20.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.3992, allocations: 35.92 kB / 466.5 MB, free: 20.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3992, allocations: 15.88 kB / 466.5 MB, free: 20.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3994, allocations: 23.83 kB / 466.5 MB, free: 20.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3994, allocations: 8 kB / 466.5 MB, free: 20.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001864/0.3996, allocations: 176 kB / 466.7 MB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.3999, allocations: 141.3 kB / 466.8 MB, free: 20.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.4, allocations: 33.73 kB / 466.9 MB, free: 20.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4, allocations: 0 / 466.9 MB, free: 20.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4, allocations: 7.938 kB / 466.9 MB, free: 20.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4, allocations: 0 / 466.9 MB, free: 20.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.4003, allocations: 265.4 kB / 467.1 MB, free: 20.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4003, allocations: 0 / 467.1 MB, free: 20.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.4005, allocations: 31.92 kB / 467.2 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4005, allocations: 320 / 467.2 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.4006, allocations: 11.95 kB / 467.2 MB, free: 20.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4006, allocations: 11.98 kB / 467.2 MB, free: 20.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4006, allocations: 4 kB / 467.2 MB, free: 20.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.4011, allocations: 264.2 kB / 467.5 MB, free: 19.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4013, allocations: 128.6 kB / 467.6 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.4013, allocations: 12 kB / 467.6 MB, free: 19.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.4015, allocations: 11.98 kB / 467.6 MB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.4016, allocations: 7.984 kB / 467.6 MB, free: 19.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4016, allocations: 8 kB / 467.6 MB, free: 19.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002985/0.4019, allocations: 249.9 kB / 467.9 MB, free: 19.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4019, allocations: 0 / 467.9 MB, free: 19.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.4023, allocations: 48 kB / 467.9 MB, free: 19.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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001042/0.4034, allocations: 414.5 kB / 468.3 MB, free: 19.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004594/0.4039, allocations: 143.8 kB / 468.5 MB, free: 18.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4039, allocations: 1.062 kB / 468.5 MB, free: 18.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.404, allocations: 31.98 kB / 468.5 MB, free: 18.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.4046, allocations: 117 kB / 468.6 MB, free: 18.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.4056, allocations: 0.4933 MB / 469.1 MB, free: 18.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4058, allocations: 0.7794 MB / 469.9 MB, free: 17.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.4059, allocations: 26.28 kB / 469.9 MB, free: 17.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.406, allocations: 35.42 kB / 469.9 MB, free: 17.38 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4061, allocations: 0 / 469.9 MB, free: 17.38 MB / 346.7 MB Notification: Performance of Templates: time 0.009256/0.4153, allocations: 3.196 MB / 473.1 MB, free: 14.19 MB / 346.7 MB