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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.351/2.351, allocations: 218.4 MB / 234.2 MB, free: 5.59 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.065e-05/5.073e-05, allocations: 8 kB / 287.6 MB, free: 56 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3309, allocations: 50.36 MB / 338 MB, free: 16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.00297/0.3339, allocations: 1.541 MB / 339.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3362, allocations: 0.9367 MB / 340.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.3364, allocations: 4 kB / 340.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.3368, allocations: 51.8 kB / 340.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.3371, allocations: 63.83 kB / 340.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.338, allocations: 187.5 kB / 340.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.3383, allocations: 83.72 kB / 340.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3384, allocations: 15.98 kB / 340.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3386, allocations: 55.83 kB / 340.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3387, allocations: 55.77 kB / 340.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3389, allocations: 39.92 kB / 341 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.339, allocations: 4 kB / 341 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3391, allocations: 55.81 kB / 341 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.3392, allocations: 8 kB / 341.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3395, allocations: 161.5 kB / 341.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3395, allocations: 0 / 341.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3395, allocations: 4 kB / 341.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3395, allocations: 0 / 341.2 MB, free: 12.72 MB / 282.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.0007818/0.3403, allocations: 468.5 kB / 341.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3404, allocations: 8.031 kB / 341.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.3405, allocations: 27.7 kB / 341.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.341, allocations: 278.4 kB / 342 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.341, allocations: 4 kB / 342 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3411, allocations: 8 kB / 342 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.3415, allocations: 159.6 kB / 342.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3416, allocations: 0 / 342.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3416, allocations: 0 / 342.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3416, allocations: 8 kB / 342.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3418, allocations: 35.91 kB / 342.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.3425, allocations: 382.5 kB / 342.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.3429, allocations: 107.9 kB / 342.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.3429, allocations: 11.92 kB / 342.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.3432, allocations: 83.5 kB / 342.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 5.15e-06/0.3432, allocations: 0 / 342.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005903/0.3438, allocations: 153.3 kB / 342.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.3439, allocations: 162.2 kB / 343.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.3445, allocations: 305.7 kB / 343.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.3445, allocations: 29.95 kB / 343.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3447, allocations: 178.5 kB / 343.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.3447, allocations: 23.73 kB / 343.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.3447, allocations: 4 kB / 343.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3449, allocations: 314.8 kB / 343.9 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.345, allocations: 23.98 kB / 343.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3452, allocations: 86.84 kB / 344 MB, free: 9.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3453, allocations: 31.94 kB / 344 MB, free: 9.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3454, allocations: 0 / 344 MB, free: 9.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003598/0.3457, allocations: 105.7 kB / 344.1 MB, free: 9.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3458, allocations: 8 kB / 344.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3458, allocations: 3.938 kB / 344.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.3458, allocations: 4 kB / 344.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.346, allocations: 15.94 kB / 344.2 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.346, allocations: 7.984 kB / 344.2 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3462, allocations: 11.91 kB / 344.2 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3462, allocations: 7.953 kB / 344.2 MB, free: 9.406 MB / 282.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.0002191/0.3465, allocations: 145.8 kB / 344.3 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3466, allocations: 69.44 kB / 344.4 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.239e-05/0.3467, allocations: 25.7 kB / 344.4 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.3467, allocations: 8.031 kB / 344.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3467, allocations: 320 / 344.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3468, allocations: 0 / 344.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3472, allocations: 249.3 kB / 344.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.3472, allocations: 4 kB / 344.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3473, allocations: 19.92 kB / 344.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3474, allocations: 0 / 344.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3474, allocations: 64 / 344.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3474, allocations: 8 kB / 344.7 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3474, allocations: 0 / 344.7 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.3479, allocations: 186 kB / 344.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3481, allocations: 120.8 kB / 345 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.3481, allocations: 0 / 345 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3482, allocations: 11.98 kB / 345 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3483, allocations: 7.953 kB / 345 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.3484, allocations: 7.984 kB / 345.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004042/0.3488, allocations: 237.9 kB / 345.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3488, allocations: 4 kB / 345.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.3492, allocations: 31.98 kB / 345.3 MB, free: 8.172 MB / 282.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.001219/0.3504, allocations: 405.8 kB / 345.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3508, allocations: 75.78 kB / 345.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3508, allocations: 0 / 345.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.351, allocations: 31.98 kB / 345.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.3515, allocations: 58.61 kB / 345.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.3525, allocations: 426.4 kB / 346.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3529, allocations: 0.7439 MB / 347 MB, free: 6.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.353, allocations: 15.44 kB / 347.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.353, allocations: 4 kB / 347.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of Templates: time 0.00794/0.361, allocations: 2.874 MB / 349.9 MB, free: 3.555 MB / 282.7 MB