Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.307/2.307, allocations: 251.5 MB / 266 MB, free: 0.6953 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.113/0.113, allocations: 12.6 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.101e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3745, allocations: 59.43 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.00225/0.3768, allocations: 1.545 MB / 460.7 MB, free: 27.08 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3786, allocations: 0.9367 MB / 461.7 MB, free: 26.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3788, allocations: 4 kB / 461.7 MB, free: 26.13 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.379, allocations: 51.8 kB / 461.7 MB, free: 26.08 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.3793, allocations: 67.77 kB / 461.8 MB, free: 26.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.3801, allocations: 183.5 kB / 462 MB, free: 25.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3803, allocations: 87.72 kB / 462.1 MB, free: 25.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.3804, allocations: 19.98 kB / 462.1 MB, free: 25.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3805, allocations: 51.83 kB / 462.1 MB, free: 25.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3806, allocations: 55.78 kB / 462.2 MB, free: 25.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3808, allocations: 39.95 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.3808, allocations: 4 kB / 462.2 MB, free: 25.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.3809, allocations: 43.84 kB / 462.3 MB, free: 25.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.381, allocations: 12 kB / 462.3 MB, free: 25.53 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3813, allocations: 178.2 kB / 462.5 MB, free: 25.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3813, allocations: 0 / 462.5 MB, free: 25.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3813, allocations: 0 / 462.5 MB, free: 25.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3813, allocations: 0 / 462.5 MB, free: 25.36 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.0005976/0.3819, allocations: 460.6 kB / 462.9 MB, free: 24.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.382, allocations: 12.03 kB / 462.9 MB, free: 24.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.382, allocations: 23.67 kB / 462.9 MB, free: 24.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.3824, allocations: 278.4 kB / 463.2 MB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3825, allocations: 8 kB / 463.2 MB, free: 24.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3825, allocations: 8 kB / 463.2 MB, free: 24.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.3829, allocations: 155.5 kB / 463.4 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3829, allocations: 0 / 463.4 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.383, allocations: 8 kB / 463.4 MB, free: 24.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.383, allocations: 3.953 kB / 463.4 MB, free: 24.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3831, allocations: 35.91 kB / 463.4 MB, free: 24.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.3837, allocations: 382.4 kB / 463.8 MB, free: 23.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.384, allocations: 123.9 kB / 463.9 MB, free: 23.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.3841, allocations: 3.938 kB / 463.9 MB, free: 23.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3843, allocations: 87.45 kB / 464 MB, free: 23.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.3843, allocations: 0 / 464 MB, free: 23.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005024/0.3848, allocations: 149.5 kB / 464.2 MB, free: 23.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.3849, allocations: 166.2 kB / 464.3 MB, free: 23.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.3853, allocations: 293.8 kB / 464.6 MB, free: 22.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3854, allocations: 29.7 kB / 464.6 MB, free: 22.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.3855, allocations: 128.3 kB / 464.8 MB, free: 22.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.3855, allocations: 23.73 kB / 464.8 MB, free: 22.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.3855, allocations: 0 / 464.8 MB, free: 22.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.3856, allocations: 330.8 kB / 465.1 MB, free: 22.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3857, allocations: 23.98 kB / 465.1 MB, free: 22.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3859, allocations: 82.84 kB / 465.2 MB, free: 22.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.386, allocations: 40 kB / 465.2 MB, free: 22.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.386, allocations: 0 / 465.2 MB, free: 22.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003139/0.3863, allocations: 117.4 kB / 465.4 MB, free: 22.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3864, allocations: 8 kB / 465.4 MB, free: 22.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3864, allocations: 8.078 kB / 465.4 MB, free: 22.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3864, allocations: 0 / 465.4 MB, free: 22.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3866, allocations: 27.86 kB / 465.4 MB, free: 22.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.3866, allocations: 4 kB / 465.4 MB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.3867, allocations: 8 kB / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3868, allocations: 4 kB / 465.4 MB, free: 22.07 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,table.y,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.0001414/0.3869, allocations: 145.8 kB / 465.6 MB, free: 21.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.387, allocations: 73.34 kB / 465.6 MB, free: 21.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.3871, allocations: 29.77 kB / 465.7 MB, free: 21.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3871, allocations: 3.953 kB / 465.7 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3871, allocations: 4 kB / 465.7 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3871, allocations: 0 / 465.7 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.3873, allocations: 241.4 kB / 465.9 MB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3874, allocations: 0 / 465.9 MB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3875, allocations: 15.92 kB / 465.9 MB, free: 21.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3875, allocations: 4 kB / 465.9 MB, free: 21.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3875, allocations: 4 kB / 465.9 MB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3875, allocations: 0 / 465.9 MB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3875, allocations: 11.95 kB / 465.9 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.3879, allocations: 177.9 kB / 466.1 MB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.388, allocations: 120.8 kB / 466.2 MB, free: 21.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.3881, allocations: 8 kB / 466.2 MB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3882, allocations: 12.05 kB / 466.3 MB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.3883, allocations: 11.98 kB / 466.3 MB, free: 21.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3883, allocations: 8 kB / 466.3 MB, free: 21.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.3886, allocations: 233.9 kB / 466.5 MB, free: 20.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3886, allocations: 0 / 466.5 MB, free: 20.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.3889, allocations: 39.98 kB / 466.5 MB, free: 20.83 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001062/0.39, allocations: 394.2 kB / 466.9 MB, free: 20.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3903, allocations: 79.83 kB / 467 MB, free: 20.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3904, allocations: 0 / 467 MB, free: 20.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3905, allocations: 27.98 kB / 467 MB, free: 20.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.391, allocations: 56.55 kB / 467.1 MB, free: 20.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.3917, allocations: 388.7 kB / 467.5 MB, free: 19.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3919, allocations: 0.7517 MB / 468.2 MB, free: 19.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3921, allocations: 29.53 kB / 468.2 MB, free: 19.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.3921, allocations: 19.44 kB / 468.3 MB, free: 19.1 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3921, allocations: 0 / 468.3 MB, free: 19.1 MB / 346.7 MB Notification: Performance of Templates: time 0.007932/0.4001, allocations: 2.597 MB / 470.9 MB, free: 16.52 MB / 346.7 MB