Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.094/2.094, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.482e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08783, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4556, allocations: 78.54 MB / 413.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4559, allocations: 82.56 kB / 413.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007951/0.4639, allocations: 1.986 MB / 415.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.464, allocations: 0 / 415.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.464, allocations: 8 kB / 415.3 MB, free: 13.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004438/0.4645, allocations: 350.9 kB / 415.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4645, allocations: 12.03 kB / 415.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.4646, allocations: 11.84 kB / 415.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4648, allocations: 202 kB / 415.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4649, allocations: 3.312 kB / 415.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.4649, allocations: 4 kB / 415.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.4652, allocations: 111.2 kB / 416 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.061e-06/0.4652, allocations: 0 / 416 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4652, allocations: 3.188 kB / 416 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-06/0.4652, allocations: 0 / 416 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.4653, allocations: 15.31 kB / 416 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.4658, allocations: 283.8 kB / 416.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4659, allocations: 59.36 kB / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.466, allocations: 30.14 kB / 416.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.466, allocations: 0 / 416.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4661, allocations: 46.16 kB / 416.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.138e-06/0.4661, allocations: 0 / 416.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.4663, allocations: 52.61 kB / 416.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.4664, allocations: 118.1 kB / 416.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4666, allocations: 133.2 kB / 416.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4666, allocations: 25.7 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.4667, allocations: 153.7 kB / 416.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.4667, allocations: 0 / 416.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-06/0.4667, allocations: 7.938 kB / 416.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4669, allocations: 318.8 kB / 417.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.4669, allocations: 4 kB / 417.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.467, allocations: 31.06 kB / 417.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.467, allocations: 4 kB / 417.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-06/0.467, allocations: 3.938 kB / 417.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.4672, allocations: 64.06 kB / 417.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4672, allocations: 8 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.425e-06/0.4672, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4673, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4674, allocations: 15.98 kB / 417.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4674, allocations: 7.938 kB / 417.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.4675, allocations: 7.938 kB / 417.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-06/0.4675, allocations: 0 / 417.3 MB, free: 11.7 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: 0 () * 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 8.838e-05/0.4676, allocations: 116.2 kB / 417.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4677, allocations: 53.06 kB / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.4678, allocations: 11.03 kB / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-06/0.4678, allocations: 0 / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-06/0.4678, allocations: 0 / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.179e-06/0.4678, allocations: 4 kB / 417.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.4681, allocations: 175.8 kB / 417.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.092e-06/0.4681, allocations: 4 kB / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.4682, allocations: 8 kB / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4682, allocations: 0 / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4682, allocations: 8.047 kB / 417.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.202e-06/0.4682, allocations: 4 kB / 417.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-06/0.4683, allocations: 0 / 417.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.4685, allocations: 187.8 kB / 417.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.643e-05/0.4686, allocations: 100 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4686, allocations: 0 / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4687, allocations: 7 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.4688, allocations: 11.92 kB / 418 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4688, allocations: 3.953 kB / 418 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.4689, allocations: 110.1 kB / 418.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.469, allocations: 0 / 418.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.4693, allocations: 7.312 kB / 418.1 MB, free: 10.84 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000139/0.4694, allocations: 99.25 kB / 418.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.4696, allocations: 23.19 kB / 418.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.61e-06/0.4696, allocations: 0 / 418.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.4696, allocations: 3.188 kB / 418.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.47, allocations: 19.14 kB / 418.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.4703, allocations: 139.9 kB / 418.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4707, allocations: 0.7004 MB / 419.1 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.4708, allocations: 13.81 kB / 419.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of SimCode: time 4.416e-06/0.4708, allocations: 0 / 419.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of Templates: time 0.00258/0.4734, allocations: 0.7987 MB / 419.9 MB, free: 9.008 MB / 346.7 MB