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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 1.934/1.934, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.172e-05, allocations: 0 / 284.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08507, allocations: 50.37 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.4713, allocations: 82.04 MB / 416.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4715, allocations: 79.45 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.5011, allocations: 6.278 MB / 423.1 MB, free: 6.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.343e-06/0.5011, allocations: 3.938 kB / 423.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.5011, allocations: 4 kB / 423.1 MB, free: 6.914 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.0006497/0.5018, allocations: 471.2 kB / 423.5 MB, free: 6.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5019, allocations: 8.031 kB / 423.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.5019, allocations: 23.72 kB / 423.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.5024, allocations: 256.5 kB / 423.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5025, allocations: 11.89 kB / 423.8 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.5025, allocations: 7.984 kB / 423.8 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.5029, allocations: 141.9 kB / 424 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5029, allocations: 3.938 kB / 424 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.5029, allocations: 7.875 kB / 424 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-06/0.5029, allocations: 0 / 424 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.503, allocations: 38.89 kB / 424 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.5036, allocations: 364.9 kB / 424.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.5039, allocations: 101.6 kB / 424.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.504, allocations: 41.83 kB / 424.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.504, allocations: 8 kB / 424.5 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.5042, allocations: 73.48 kB / 424.6 MB, free: 5.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.736e-06/0.5042, allocations: 0 / 424.6 MB, free: 5.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003083/0.5045, allocations: 111.3 kB / 424.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.5046, allocations: 136.4 kB / 424.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.505, allocations: 242.7 kB / 425.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.505, allocations: 25.7 kB / 425.1 MB, free: 4.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5051, allocations: 177 kB / 425.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.5052, allocations: 15.09 kB / 425.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.5052, allocations: 7.875 kB / 425.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5054, allocations: 318.8 kB / 425.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.5054, allocations: 19.31 kB / 425.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.5056, allocations: 69.05 kB / 425.7 MB, free: 4.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.5056, allocations: 27.23 kB / 425.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5057, allocations: 0 / 425.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.5059, allocations: 106.7 kB / 425.8 MB, free: 4.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5059, allocations: 4 kB / 425.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.5059, allocations: 4 kB / 425.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.506, allocations: 0 / 425.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5061, allocations: 15.98 kB / 425.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.801e-06/0.5061, allocations: 0 / 425.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.5062, allocations: 6.938 kB / 425.9 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.5062, allocations: 4 kB / 425.9 MB, free: 4.102 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.0001116/0.5064, allocations: 135.9 kB / 426 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.5065, allocations: 57.12 kB / 426.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.5068, allocations: 118.9 kB / 426.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5068, allocations: 7.938 kB / 426.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.673e-06/0.5068, allocations: 0 / 426.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-06/0.5068, allocations: 0 / 426.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.5071, allocations: 231.3 kB / 426.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-06/0.5071, allocations: 0 / 426.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.5072, allocations: 12.06 kB / 426.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-06/0.5072, allocations: 0 / 426.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.5072, allocations: 7.984 kB / 426.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.878e-06/0.5073, allocations: 0 / 426.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5073, allocations: 0 / 426.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.5076, allocations: 178.3 kB / 426.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.5077, allocations: 122.7 kB / 426.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.5078, allocations: 4 kB / 426.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.5079, allocations: 11.42 kB / 426.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.508, allocations: 4 kB / 426.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.508, allocations: 4 kB / 426.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.5082, allocations: 194.2 kB / 426.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.5083, allocations: 0 / 426.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.5086, allocations: 43.55 kB / 427 MB, free: 3.004 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.001384/0.51, allocations: 399.4 kB / 427.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.5103, allocations: 70.98 kB / 427.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5103, allocations: 0 / 427.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.5104, allocations: 22.81 kB / 427.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.5108, allocations: 66.75 kB / 427.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.5114, allocations: 254.3 kB / 427.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.5118, allocations: 0.736 MB / 428.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.67e-05/0.5119, allocations: 27.42 kB / 428.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of SimCode: time 3.615e-06/0.5119, allocations: 0 / 428.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of Templates: time 0.005745/0.5177, allocations: 2.6 MB / 431.1 MB, free: 14.93 MB / 362.7 MB