Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 1.99/1.99, allocations: 218.4 MB / 231 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.041e-05, allocations: 8 kB / 284.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09247, allocations: 50.35 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4519, allocations: 81.98 MB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4523, allocations: 83.19 kB / 416.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02631/0.4786, allocations: 6.277 MB / 423 MB, free: 7.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.213e-06/0.4786, allocations: 0 / 423 MB, free: 7.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.4787, allocations: 4 kB / 423 MB, free: 7.008 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006814/0.4794, allocations: 474.5 kB / 423.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4794, allocations: 8.031 kB / 423.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.4795, allocations: 23.72 kB / 423.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.48, allocations: 257.4 kB / 423.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.4801, allocations: 15.38 kB / 423.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.4801, allocations: 4 kB / 423.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.4804, allocations: 144.2 kB / 423.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4805, allocations: 7.938 kB / 424 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4805, allocations: 0 / 424 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-06/0.4805, allocations: 0 / 424 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4806, allocations: 32.48 kB / 424 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.4813, allocations: 362.4 kB / 424.3 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.4815, allocations: 102.6 kB / 424.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.4816, allocations: 48.2 kB / 424.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4817, allocations: 12.05 kB / 424.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.4818, allocations: 72.86 kB / 424.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.811e-06/0.4819, allocations: 0 / 424.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000333/0.4822, allocations: 112.7 kB / 424.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4823, allocations: 132.6 kB / 424.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4827, allocations: 244.9 kB / 425 MB, free: 4.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.4827, allocations: 25.7 kB / 425.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4829, allocations: 120.6 kB / 425.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4829, allocations: 15.78 kB / 425.2 MB, free: 4.809 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-06/0.4829, allocations: 7.875 kB / 425.2 MB, free: 4.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4831, allocations: 333.3 kB / 425.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.4832, allocations: 18.94 kB / 425.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4833, allocations: 71.52 kB / 425.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.4834, allocations: 26.73 kB / 425.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-06/0.4834, allocations: 0 / 425.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002582/0.4837, allocations: 115.5 kB / 425.8 MB, free: 4.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4837, allocations: 4 kB / 425.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.196e-06/0.4837, allocations: 4 kB / 425.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4838, allocations: 0 / 425.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4839, allocations: 15.98 kB / 425.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.361e-06/0.4839, allocations: 0 / 425.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.484, allocations: 11.91 kB / 425.8 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4841, allocations: 4.125 kB / 425.8 MB, free: 4.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001169/0.4842, allocations: 124.5 kB / 425.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4843, allocations: 57.19 kB / 426 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.4846, allocations: 124 kB / 426.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-06/0.4846, allocations: 0 / 426.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.168e-06/0.4847, allocations: 0 / 426.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-06/0.4847, allocations: 4 kB / 426.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.485, allocations: 230.5 kB / 426.3 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-06/0.485, allocations: 8.062 kB / 426.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.485, allocations: 4 kB / 426.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.2e-06/0.4851, allocations: 0 / 426.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.4851, allocations: 10.55 kB / 426.4 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.4851, allocations: 0 / 426.4 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.101e-06/0.4851, allocations: 0 / 426.4 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4854, allocations: 184.3 kB / 426.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4856, allocations: 119.3 kB / 426.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.4857, allocations: 0 / 426.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4858, allocations: 7.984 kB / 426.7 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.4858, allocations: 7.688 kB / 426.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4859, allocations: 4 kB / 426.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002816/0.4862, allocations: 191.7 kB / 426.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.4862, allocations: 0 / 426.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.4866, allocations: 43.3 kB / 426.9 MB, free: 3.133 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: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001405/0.488, allocations: 410.2 kB / 427.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.4882, allocations: 64.98 kB / 427.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.438e-06/0.4883, allocations: 0 / 427.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.4884, allocations: 27 kB / 427.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.4888, allocations: 61.3 kB / 427.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.4894, allocations: 228.3 kB / 427.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.4898, allocations: 0.7396 MB / 428.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.49, allocations: 25.33 kB / 428.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.4901, allocations: 19.44 kB / 428.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of SimCode: time 2.403e-06/0.4901, allocations: 3.938 kB / 428.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of Templates: time 0.0124/0.5025, allocations: 2.322 MB / 430.8 MB, free: 15.32 MB / 362.7 MB