Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica_Synchronous): time 2.499/2.499, allocations: 218.4 MB / 234.2 MB, free: 4.707 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 4 kB / 287.6 MB, free: 15.17 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3571, allocations: 50.37 MB / 338 MB, free: 15.95 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock): time 0.001427/0.3586, allocations: 0.5438 MB / 338.5 MB, free: 15.4 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004081/0.3591, allocations: 115.7 kB / 338.6 MB, free: 15.29 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3592, allocations: 4 kB / 338.6 MB, free: 15.29 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 8.017e-05/0.3593, allocations: 3.938 kB / 338.6 MB, free: 15.28 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.3594, allocations: 7.969 kB / 338.6 MB, free: 15.27 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3597, allocations: 27.98 kB / 338.7 MB, free: 15.25 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 8.962e-05/0.3598, allocations: 27.91 kB / 338.7 MB, free: 15.22 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3599, allocations: 15.98 kB / 338.7 MB, free: 15.2 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.3599, allocations: 4 kB / 338.7 MB, free: 15.2 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.36, allocations: 11.92 kB / 338.7 MB, free: 15.19 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.36, allocations: 7.938 kB / 338.7 MB, free: 15.18 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3601, allocations: 3.984 kB / 338.7 MB, free: 15.18 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.3601, allocations: 19.92 kB / 338.8 MB, free: 15.16 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.3602, allocations: 4 kB / 338.8 MB, free: 15.15 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.3603, allocations: 35.94 kB / 338.8 MB, free: 15.12 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3603, allocations: 0 / 338.8 MB, free: 15.12 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3603, allocations: 0 / 338.8 MB, free: 15.12 MB / 282.8 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3603, allocations: 0 / 338.8 MB, free: 15.12 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004723/0.3608, allocations: 349.1 kB / 339.1 MB, free: 14.73 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3609, allocations: 12.03 kB / 339.2 MB, free: 14.72 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.3609, allocations: 11.81 kB / 339.2 MB, free: 14.71 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.3612, allocations: 197.3 kB / 339.4 MB, free: 14.48 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3612, allocations: 15.94 kB / 339.4 MB, free: 14.46 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3613, allocations: 7.953 kB / 339.4 MB, free: 14.45 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.3617, allocations: 135.2 kB / 339.5 MB, free: 14.31 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3617, allocations: 0 / 339.5 MB, free: 14.31 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3617, allocations: 4 kB / 339.5 MB, free: 14.3 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3617, allocations: 4 kB / 339.5 MB, free: 14.3 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.3618, allocations: 19.92 kB / 339.5 MB, free: 14.28 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.362, allocations: 181.6 kB / 339.7 MB, free: 14.05 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.3623, allocations: 78.59 kB / 339.8 MB, free: 13.97 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3623, allocations: 0 / 339.8 MB, free: 13.97 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3623, allocations: 34.59 kB / 339.8 MB, free: 13.93 MB / 282.8 MB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.3624, allocations: 4 kB / 339.8 MB, free: 13.92 MB / 282.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002846/0.3626, allocations: 93.59 kB / 339.9 MB, free: 13.82 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3627, allocations: 59.39 kB / 340 MB, free: 13.75 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3629, allocations: 129.1 kB / 340.1 MB, free: 13.62 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3629, allocations: 29.7 kB / 340.1 MB, free: 13.58 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.363, allocations: 154.7 kB / 340.3 MB, free: 13.43 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3631, allocations: 7.875 kB / 340.3 MB, free: 13.42 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.3631, allocations: 4 kB / 340.3 MB, free: 13.42 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3632, allocations: 318.8 kB / 340.6 MB, free: 13.1 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.3633, allocations: 12 kB / 340.6 MB, free: 13.09 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.3633, allocations: 58.84 kB / 340.7 MB, free: 13 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.3634, allocations: 20 kB / 340.7 MB, free: 12.98 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.3635, allocations: 0 / 340.7 MB, free: 12.98 MB / 282.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001959/0.3637, allocations: 89.48 kB / 340.8 MB, free: 12.89 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3637, allocations: 11.95 kB / 340.8 MB, free: 12.88 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3637, allocations: 0 / 340.8 MB, free: 12.88 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3637, allocations: 4.25 kB / 340.8 MB, free: 12.88 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3639, allocations: 19.94 kB / 340.8 MB, free: 12.86 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3639, allocations: 4 kB / 340.8 MB, free: 12.85 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.364, allocations: 0 / 340.8 MB, free: 12.85 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.364, allocations: 8 kB / 340.8 MB, free: 12.84 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000139/0.3641, allocations: 121.8 kB / 341 MB, free: 12.71 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.3643, allocations: 89.44 kB / 341 MB, free: 12.62 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.3644, allocations: 16.66 kB / 341.1 MB, free: 12.6 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.3644, allocations: 7.984 kB / 341.1 MB, free: 12.59 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3644, allocations: 4 kB / 341.1 MB, free: 12.59 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3644, allocations: 0 / 341.1 MB, free: 12.59 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.3646, allocations: 169.6 kB / 341.2 MB, free: 12.37 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3646, allocations: 4 kB / 341.2 MB, free: 12.37 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3647, allocations: 8 kB / 341.2 MB, free: 12.36 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.3647, allocations: 4 kB / 341.3 MB, free: 12.36 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3648, allocations: 192 / 341.3 MB, free: 12.36 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3648, allocations: 3.953 kB / 341.3 MB, free: 12.35 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3648, allocations: 3.938 kB / 341.3 MB, free: 12.35 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.365, allocations: 117.3 kB / 341.4 MB, free: 12.21 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.3651, allocations: 96.94 kB / 341.5 MB, free: 12.1 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.3651, allocations: 4 kB / 341.5 MB, free: 12.1 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.3652, allocations: 7.938 kB / 341.5 MB, free: 12.09 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-06/0.3652, allocations: 3.953 kB / 341.5 MB, free: 12.09 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3652, allocations: 4 kB / 341.5 MB, free: 12.08 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3653, allocations: 108.5 kB / 341.6 MB, free: 11.98 MB / 282.8 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3653, allocations: 0 / 341.6 MB, free: 11.98 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002654/0.3656, allocations: 4 kB / 341.6 MB, free: 11.97 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001552/0.3658, allocations: 108 kB / 341.7 MB, free: 11.86 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.366, allocations: 51.89 kB / 341.8 MB, free: 11.81 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.366, allocations: 0 / 341.8 MB, free: 11.81 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.366, allocations: 3.938 kB / 341.8 MB, free: 11.8 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3664, allocations: 51.95 kB / 341.8 MB, free: 11.75 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.3668, allocations: 209.4 kB / 342 MB, free: 11.52 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3672, allocations: 0.7043 MB / 342.7 MB, free: 10.79 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.3672, allocations: 7.438 kB / 342.7 MB, free: 10.78 MB / 282.8 MB Notification: Performance of SimCode: time 1.082e-06/0.3672, allocations: 4 kB / 342.7 MB, free: 10.77 MB / 282.8 MB Notification: Performance of Templates: time 0.003198/0.3704, allocations: 0.8528 MB / 343.6 MB, free: 9.922 MB / 282.8 MB