Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|and1.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.298/2.298, allocations: 251.5 MB / 266 MB, free: 0.6953 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.0973/0.0973, allocations: 12.59 MB / 336.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.77e-05, allocations: 4 kB / 399.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3672, allocations: 59.43 MB / 459.2 MB, free: 28.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample): time 0.002392/0.3697, allocations: 1.643 MB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3714, allocations: 0.8977 MB / 461.7 MB, free: 26.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.3715, allocations: 7.938 kB / 461.7 MB, free: 26.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.3722, allocations: 155.6 kB / 461.9 MB, free: 25.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.3724, allocations: 83.73 kB / 462 MB, free: 25.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.3731, allocations: 183.5 kB / 462.2 MB, free: 25.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3733, allocations: 107.8 kB / 462.3 MB, free: 25.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.3734, allocations: 26.66 kB / 462.3 MB, free: 25.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3736, allocations: 67.77 kB / 462.4 MB, free: 25.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3737, allocations: 71.69 kB / 462.4 MB, free: 25.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3738, allocations: 31.98 kB / 462.5 MB, free: 25.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3739, allocations: 8 kB / 462.5 MB, free: 25.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.3739, allocations: 43.83 kB / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.374, allocations: 12 kB / 462.5 MB, free: 25.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3742, allocations: 171.6 kB / 462.7 MB, free: 25.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.3743, allocations: 0 / 462.7 MB, free: 25.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3743, allocations: 4 kB / 462.7 MB, free: 25.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3743, allocations: 3.938 kB / 462.7 MB, free: 25.11 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.000606/0.3749, allocations: 488.5 kB / 463.2 MB, free: 24.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.375, allocations: 11.97 kB / 463.2 MB, free: 24.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.375, allocations: 27.62 kB / 463.2 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.3754, allocations: 273.6 kB / 463.5 MB, free: 24.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3755, allocations: 15.98 kB / 463.5 MB, free: 24.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.3755, allocations: 12 kB / 463.5 MB, free: 24.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.3762, allocations: 299.9 kB / 463.8 MB, free: 23.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3762, allocations: 0 / 463.8 MB, free: 23.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.3762, allocations: 7.953 kB / 463.8 MB, free: 23.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3762, allocations: 0 / 463.8 MB, free: 23.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.3764, allocations: 63.91 kB / 463.9 MB, free: 23.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.377, allocations: 398.3 kB / 464.3 MB, free: 23.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.3774, allocations: 172 kB / 464.4 MB, free: 23.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.3774, allocations: 8 kB / 464.4 MB, free: 23.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.3776, allocations: 79.34 kB / 464.5 MB, free: 23.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.3776, allocations: 0 / 464.5 MB, free: 23.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006312/0.3783, allocations: 221.5 kB / 464.7 MB, free: 22.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.3784, allocations: 148.4 kB / 464.9 MB, free: 22.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.3787, allocations: 252.1 kB / 465.1 MB, free: 22.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3787, allocations: 33.7 kB / 465.2 MB, free: 22.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.3788, allocations: 120.6 kB / 465.3 MB, free: 22.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3789, allocations: 23.7 kB / 465.3 MB, free: 22.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.3789, allocations: 4 kB / 465.3 MB, free: 22.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.379, allocations: 338.8 kB / 465.6 MB, free: 21.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3791, allocations: 36.44 kB / 465.7 MB, free: 21.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3793, allocations: 168.1 kB / 465.8 MB, free: 21.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3795, allocations: 63.95 kB / 465.9 MB, free: 21.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3795, allocations: 4 kB / 465.9 MB, free: 21.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004505/0.3799, allocations: 221.4 kB / 466.1 MB, free: 21.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.38, allocations: 4.375 kB / 466.1 MB, free: 21.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.38, allocations: 4 kB / 466.1 MB, free: 21.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.38, allocations: 8 kB / 466.1 MB, free: 21.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3801, allocations: 27.92 kB / 466.2 MB, free: 21.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3802, allocations: 7.938 kB / 466.2 MB, free: 21.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.3803, allocations: 16.16 kB / 466.2 MB, free: 21.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3804, allocations: 23.92 kB / 466.2 MB, free: 21.27 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.table1.combiTimeTable.nextTimeEvent,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,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.0001464/0.3805, allocations: 164.1 kB / 466.4 MB, free: 21.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.3808, allocations: 129.3 kB / 466.5 MB, free: 20.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.3809, allocations: 29.7 kB / 466.5 MB, free: 20.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3809, allocations: 0 / 466.5 MB, free: 20.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3809, allocations: 4 kB / 466.5 MB, free: 20.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3809, allocations: 3.984 kB / 466.5 MB, free: 20.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3811, allocations: 245.4 kB / 466.8 MB, free: 20.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3811, allocations: 0 / 466.8 MB, free: 20.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.3812, allocations: 12 kB / 466.8 MB, free: 20.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3812, allocations: 11.94 kB / 466.8 MB, free: 20.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3812, allocations: 4 kB / 466.8 MB, free: 20.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.3812, allocations: 3.938 kB / 466.8 MB, free: 20.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3812, allocations: 4 kB / 466.8 MB, free: 20.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.3817, allocations: 244.8 kB / 467 MB, free: 20.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3818, allocations: 124.7 kB / 467.2 MB, free: 20.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.3819, allocations: 8 kB / 467.2 MB, free: 20.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.382, allocations: 7.984 kB / 467.2 MB, free: 20.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.382, allocations: 4 kB / 467.2 MB, free: 20.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3821, allocations: 15.98 kB / 467.2 MB, free: 20.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3823, allocations: 192.5 kB / 467.4 MB, free: 19.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3823, allocations: 0 / 467.4 MB, free: 19.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.3827, allocations: 40 kB / 467.4 MB, free: 19.93 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,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.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.001011/0.3837, allocations: 406.7 kB / 467.8 MB, free: 19.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.3841, allocations: 144.5 kB / 468 MB, free: 19.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3841, allocations: 4.25 kB / 468 MB, free: 19.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.3842, allocations: 23.94 kB / 468 MB, free: 19.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.3848, allocations: 118.9 kB / 468.1 MB, free: 19.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.3855, allocations: 412.7 kB / 468.5 MB, free: 18.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3858, allocations: 0.7638 MB / 469.3 MB, free: 18.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3859, allocations: 22.2 kB / 469.3 MB, free: 18.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.386, allocations: 31.42 kB / 469.3 MB, free: 18.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.386, allocations: 0 / 469.3 MB, free: 18.03 MB / 346.7 MB Notification: Performance of Templates: time 0.008213/0.3942, allocations: 2.742 MB / 472.1 MB, free: 15.29 MB / 346.7 MB