Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.251e-05, allocations: 8 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002362/0.1111, allocations: 1.335 MB / 346.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1123, allocations: 463 kB / 346.8 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.1124, allocations: 0 / 346.8 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.1125, allocations: 3.938 kB / 346.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1126, allocations: 15.97 kB / 346.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.113, allocations: 43.81 kB / 346.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1131, allocations: 31.97 kB / 346.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.1132, allocations: 19.92 kB / 346.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.1133, allocations: 15.98 kB / 346.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.1134, allocations: 27.86 kB / 346.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.1134, allocations: 0 / 346.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1134, allocations: 4 kB / 346.9 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1135, allocations: 11.97 kB / 346.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.1135, allocations: 7.938 kB / 346.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1136, allocations: 47.91 kB / 347 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1136, allocations: 0 / 347 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1136, allocations: 3.938 kB / 347 MB, free: 6.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1137, allocations: 0 / 347 MB, free: 6.902 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005618/0.1142, allocations: 371.5 kB / 347.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1143, allocations: 8.031 kB / 347.4 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.1143, allocations: 15.77 kB / 347.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1146, allocations: 197.6 kB / 347.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1146, allocations: 8 kB / 347.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1147, allocations: 4 kB / 347.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.1151, allocations: 144.9 kB / 347.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1151, allocations: 0 / 347.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1151, allocations: 3.953 kB / 347.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1152, allocations: 4 kB / 347.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1153, allocations: 35.97 kB / 347.8 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.1159, allocations: 313.6 kB / 348.1 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1163, allocations: 158.4 kB / 348.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.1163, allocations: 3.953 kB / 348.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1165, allocations: 63.44 kB / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.1165, allocations: 0 / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004653/0.117, allocations: 129.7 kB / 348.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/0.1171, allocations: 81.11 kB / 348.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1173, allocations: 125 kB / 348.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1173, allocations: 29.7 kB / 348.7 MB, free: 5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.1174, allocations: 158.6 kB / 348.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1174, allocations: 15.8 kB / 348.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.1175, allocations: 4 kB / 348.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1176, allocations: 318.8 kB / 349.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1177, allocations: 27.98 kB / 349.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1179, allocations: 57.14 kB / 349.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.118, allocations: 39.98 kB / 349.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.118, allocations: 0 / 349.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003301/0.1184, allocations: 109.5 kB / 349.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1184, allocations: 8 kB / 349.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1184, allocations: 8.094 kB / 349.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1184, allocations: 4 kB / 349.4 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1186, allocations: 15.98 kB / 349.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1186, allocations: 4 kB / 349.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.1187, allocations: 15.78 kB / 349.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1187, allocations: 4 kB / 349.4 MB, free: 4.191 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,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.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.000132/0.1189, allocations: 130 kB / 349.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.119, allocations: 57.55 kB / 349.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.1191, allocations: 12.31 kB / 349.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1191, allocations: 4 kB / 349.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1191, allocations: 3.938 kB / 349.6 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1191, allocations: 0 / 349.6 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.1196, allocations: 350.5 kB / 350 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1197, allocations: 3.984 kB / 350 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1198, allocations: 8 kB / 350 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1198, allocations: 4 kB / 350 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1198, allocations: 4 kB / 350 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1198, allocations: 3.938 kB / 350 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1199, allocations: 0 / 350 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1202, allocations: 221.9 kB / 350.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1204, allocations: 100.9 kB / 350.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.1204, allocations: 0 / 350.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1205, allocations: 7.984 kB / 350.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1206, allocations: 128 / 350.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1206, allocations: 12 kB / 350.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1207, allocations: 109.8 kB / 350.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1207, allocations: 0 / 350.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.1211, allocations: 12 kB / 350.5 MB, free: 3.055 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 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.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.0001563/0.1212, allocations: 111.2 kB / 350.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.1216, allocations: 63.91 kB / 350.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1216, allocations: 0 / 350.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1217, allocations: 23.92 kB / 350.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.122, allocations: 32.28 kB / 350.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.1227, allocations: 267.4 kB / 350.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.123, allocations: 0.7083 MB / 351.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1231, allocations: 15.44 kB / 351.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1231, allocations: 0 / 351.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Templates: time 0.003509/0.1267, allocations: 1.015 MB / 352.7 MB, free: 0.75 MB / 282.7 MB