Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadModel(Modelica_Synchronous): time 2.423/2.423, allocations: 218.4 MB / 234.2 MB, free: 5.555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.444e-05, allocations: 4 kB / 287.6 MB, free: 28 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3622, allocations: 50.37 MB / 338 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.003763/0.366, allocations: 1.278 MB / 339.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.3686, allocations: 472.6 kB / 339.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.3689, allocations: 7.938 kB / 339.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.3689, allocations: 0 / 339.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.369, allocations: 3.984 kB / 339.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3696, allocations: 35.83 kB / 339.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3697, allocations: 31.91 kB / 339.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3699, allocations: 11.98 kB / 339.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.37, allocations: 19.97 kB / 339.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3702, allocations: 19.92 kB / 339.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.676e-05/0.3702, allocations: 4 kB / 339.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3703, allocations: 4 kB / 339.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.3703, allocations: 11.94 kB / 339.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.3703, allocations: 4 kB / 339.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3705, allocations: 39.91 kB / 339.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3705, allocations: 0 / 339.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3705, allocations: 0 / 339.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.3705, allocations: 3.938 kB / 339.9 MB, free: 13.99 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.0005846/0.3711, allocations: 357.1 kB / 340.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.3712, allocations: 12.03 kB / 340.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.3713, allocations: 11.84 kB / 340.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3715, allocations: 182.9 kB / 340.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3716, allocations: 4 kB / 340.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3716, allocations: 8 kB / 340.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.3721, allocations: 141 kB / 340.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3721, allocations: 0 / 340.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3721, allocations: 0 / 340.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3721, allocations: 3.984 kB / 340.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.3723, allocations: 39.92 kB / 340.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.373, allocations: 305.6 kB / 340.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.3733, allocations: 154.3 kB / 341.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3733, allocations: 12 kB / 341.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3735, allocations: 59.48 kB / 341.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.395e-06/0.3736, allocations: 0 / 341.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004777/0.374, allocations: 121.5 kB / 341.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.3741, allocations: 85.11 kB / 341.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3743, allocations: 105.2 kB / 341.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3743, allocations: 25.7 kB / 341.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3744, allocations: 162.6 kB / 341.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3745, allocations: 15.89 kB / 341.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.3745, allocations: 0 / 341.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3746, allocations: 322.8 kB / 342 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3748, allocations: 23.98 kB / 342 MB, free: 11.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3749, allocations: 57.14 kB / 342.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3751, allocations: 35.98 kB / 342.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3751, allocations: 384 / 342.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003374/0.3754, allocations: 113.5 kB / 342.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3755, allocations: 4 kB / 342.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3755, allocations: 4 kB / 342.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3755, allocations: 7.875 kB / 342.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3757, allocations: 24.08 kB / 342.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3757, allocations: 0 / 342.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.353e-05/0.3758, allocations: 12 kB / 342.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/0.3759, allocations: 4 kB / 342.3 MB, free: 11.35 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001977/0.3761, allocations: 125.7 kB / 342.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3763, allocations: 49.55 kB / 342.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.3764, allocations: 19.95 kB / 342.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3764, allocations: 0 / 342.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3764, allocations: 4.312 kB / 342.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3764, allocations: 0 / 342.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.3771, allocations: 338.5 kB / 342.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3772, allocations: 3.984 kB / 342.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3773, allocations: 8 kB / 342.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.3773, allocations: 4 kB / 342.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3773, allocations: 4 kB / 342.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3774, allocations: 4 kB / 342.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3774, allocations: 4.219 kB / 342.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.3779, allocations: 217.9 kB / 343 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3781, allocations: 85.02 kB / 343.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.3782, allocations: 4 kB / 343.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.3785, allocations: 7.984 kB / 343.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3786, allocations: 0 / 343.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.3786, allocations: 11.95 kB / 343.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3788, allocations: 91.27 kB / 343.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.392e-06/0.3788, allocations: 0 / 343.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006163/0.3795, allocations: 12 kB / 343.2 MB, free: 10.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002817/0.3798, allocations: 103.6 kB / 343.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.3804, allocations: 67.91 kB / 343.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3804, allocations: 3.938 kB / 343.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3806, allocations: 23.98 kB / 343.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3817, allocations: 23.92 kB / 343.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.3825, allocations: 228.1 kB / 343.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.383, allocations: 0.6965 MB / 344.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.3831, allocations: 11.44 kB / 344.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3831, allocations: 0 / 344.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of Templates: time 0.004483/0.3876, allocations: 0.9273 MB / 345.3 MB, free: 8.109 MB / 282.7 MB